Space Engineers
|
Creates simple axis aligned box with no noise applied to it. Meant to be simple example of how to implement CSG shape. More...
Public Member Functions | |
MyCsgBox (Vector3 translation, float halfExtents) | |
Additional Inherited Members | |
Protected Member Functions inherited from Sandbox.Engine.Voxels.MyCsgShapeBase | |
MyCsgShapeBase () | |
Protected Attributes inherited from Sandbox.Engine.Voxels.MyCsgShapeBase | |
bool | m_enableModulation |
float | m_detailSize |
Creates simple axis aligned box with no noise applied to it. Meant to be simple example of how to implement CSG shape.
NOTE: Using this box might not always produce sharp edges due to rasterization of distance function. They will be sharp when box aligns with raster grid (which is, simply put, for positions and sizes that are power of two).
Definition at line 19 of file MyCsgBox.cs.
|
inline |
Definition at line 24 of file MyCsgBox.cs.