ShapeGrid function

MeshData ShapeGrid(
  1. RenderProgram prog,
  2. int xstrips,
  3. int ystrips,
  4. double xlen,
  5. double ylen,
)

Implementation

MeshData ShapeGrid(
    RenderProgram prog, int xstrips, int ystrips, double xlen, double ylen) {
  GeometryBuilder gb = GridGeometry(xstrips, ystrips, xlen, ylen);
  return GeometryBuilderToMeshData("strips", prog, gb);
}