Method Cube
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
Cube(float)
Creates a cube.
public static Box Cube(float halfWidth)Parameters
halfWidthfloat-
Half the edge length. Must be positive.
Returns
- Box
-
The cube.
Exceptions
- ArgumentOutOfRangeException
-
halfWidthis not positive.