generatePlane
fun generatePlane(center: Vector3, right: Vector3, forward: Vector3, up: Vector3 = forward.cross(right).normalized, width: Double = 1.0, height: Double = 1.0, widthSegments: Int = 1, heightSegments: Int = 1, writer: VertexWriter)(source)
Generate plane centered at center, using the right, forward and up vectors for its orientation. width and height specify the dimensions of the plane. widthSegments and heightSegments control the plane's number of segments.
Parameters
writer
the vertex writer function