package
0.1.0
Repository: https://github.com/aceeric/engine.git
Documentation: pkg.go.dev

# Functions

NewBox creates a box geometry of the specified width, height, and length.
NewCircle creates a new circle geometry with the specified radius and number of radial segments/triangles (minimum 3).
NewCircleSector creates a new circle or circular sector geometry with the specified radius, number of radial segments/triangles (minimum 3), sector start angle in radians (thetaStart), and sector size angle in radians (thetaLength).
NewCube creates a new cube geometry of the specified size.
NewCylinder creates and returns a pointer to a new Cylinder geometry object.
NewGeometry creates and returns a pointer to a new Geometry.
NewMorphGeometry creates and returns a pointer to a new MorphGeometry.
NewPlane creates and returns a pointer to a Plane Geometry.
NewSegmentedBox creates a box geometry of the specified size and with the specified number of segments in each dimension.
NewSegmentedCube creates a cube geometry of the specified size and number of segments.
NewSphere returns a pointer to a new Sphere geometry object.
NewTorus returns a pointer to a new torus geometry.

# Constants

MaxActiveMorphTargets is the maximum number of active morph targets.

# Structs

Box represents the geometry of a rectangular cuboid.
Circle represents the geometry of a filled circle (i.e.
Cylinder represents a cylinder geometry.
Geometry encapsulates a three-dimensional vertex-based geometry.
Group is a geometry group object.
MorphGeometry represents a base geometry and its morph targets.
Plane represents a plane geometry.
Sphere represents a sphere geometry.
Torus represents a torus geometry.

# Interfaces

IGeometry is the interface for all geometries.