Class Sphere4
Built-in modeler to create a sphere in 4D.
public class Sphere4 : Modeler4
Namespace Engine4.Rendering
Remarks
This sphere has a configurable subdivision and radius and extent, So it can be extended to a cube, sphere, cylinder, or rounded cube.
Constructors
Sphere4()
public Sphere4()
Fields
extent
Extent of the cube
public Vector4 extent
radius
Radius of the sphere
public float radius
subdivision
Subdivision level
public int subdivision
Remarks
Internally the subdivision level is multiplied by 2 so it's always even. Be advised that setting too much subdivision level could broken the output mesh.