NewPlane creates a plane geometry with the specified width and height. The plane is generated centered in the XY plane with Z=0.
(width, height float32)
| 12 | // NewPlane creates a plane geometry with the specified width and height. |
| 13 | // The plane is generated centered in the XY plane with Z=0. |
| 14 | func NewPlane(width, height float32) *Geometry { |
| 15 | return NewSegmentedPlane(width, height, 1, 1) |
| 16 | } |
| 17 | |
| 18 | // NewSegmentedPlane creates a segmented plane geometry with the specified width, height, and number of |
| 19 | // segments in each dimension (minimum 1 in each). The plane is generated centered in the XY plane with Z=0. |
nothing calls this directly
no test coverage detected