groundPlaneMesh

fun groundPlaneMesh(width: Double = 1.0, height: Double = 1.0, widthSegments: Int = 1, heightSegments: Int = 1): VertexBuffer(source)

Generates a finite plane with its center at (0,0,0) and spanning the xz-plane.

Return

A vertex buffer containing the triangles to render the 3D shape.