TriangularPrismPrimitive
public class TriangularPrismPrimitive : Primitive
{
// Length of the prism along its axis
public float length;
// Circumradius of the triangular cross-section
public float radius;
// This transform must only contain rotation and translation components, not scale
public Matrix4F transform;
}
WARNING: the
transformmatrix should only contain rotation and translation operations, not scale. The size of the prism should be controlled via theradiusandlengthproperties