ConePrimitive
public class ConePrimitive : Primitive
{
// Height of the cone from base to apex
public float height;
// Radius of the cone base
public float radius;
// This transform must only contain rotation and translation components, not scale
public Matrix4F transform;
}
The base of the cone is centered at (0, 0, 0), and the tip extends upwards to (0, height, 0)
WARNING: the
transformmatrix should only contain rotation and translation operations, not scale. The size of the cone should be controlled via theradiusandheightproperties