| DcelMeshCreateCube Method |
Creates a mesh for unit cube.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static DcelMesh CreateCube()
Public Shared Function CreateCube As DcelMesh
public:
static DcelMesh^ CreateCube()
static member CreateCube : unit -> DcelMesh
Return Value
Type:
DcelMeshThe DCEL mesh that represent a unit cube.
Remarks
The cube is centered at the origin and has 6 faces. The edge length is 2.
See Also