java.lang.Object
com.marginallyclever.ro3.mesh.Mesh
com.marginallyclever.ro3.mesh.shapes.Grid

public class Grid extends Mesh

Grid is a Mesh displaying a grid on the XY plane. The origin is at the center of the grid.

  • Constructor Details

    • Grid

      public Grid()
  • Method Details

    • render

      public void render(com.jogamp.opengl.GL3 gl)
      Description copied from class: Mesh
      Render the entire mesh.
      Overrides:
      render in class Mesh
      Parameters:
      gl - the OpenGL context
    • setWidth

      public void setWidth(int width)
    • setLength

      public void setLength(int length)