Click or drag to resize
DigitalRuneDcelMeshCreateCube Method
Creates a mesh for unit cube.

Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static DcelMesh CreateCube()

Return Value

Type: DcelMesh
The 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