# Functions
BarycoordFromPoint returns the barycentric coordinates for the specified point.
Clamp clamps x to the provided closed interval [a, b].
ClampInt clamps x to the provided closed interval [a, b].
Color4Name returns a Color4 with the specified standard web color name and an optional alpha channel value.
ColorName returns a Color with the specified standard web color name (case insensitive).
ContainsPoint returns whether a triangle contains a point.
DegToRad converts a number from degrees to radians.
IsColorName returns if the specified name is valid color name.
NewArrayF32 creates a returns a new array of floats with the specified initial size and capacity.
NewArrayU32 creates a returns a new array of uint32 with the specified initial size and capacity.
NewBezierCubic creates and returns a pointer to a new curve Uses Vector3 pointers origin, control1, control2, and destination to calculate with int npoints as the desired number of points along the curve.
NewBezierQuadratic creates and returns a pointer to a new curve Uses Vector3 pointers origin, control, and destination to calculate with int npoints as the desired number of points along the curve.
NewBox2 creates and returns a pointer to a new Box2 defined by its minimum and maximum coordinates.
NewBox3 creates and returns a pointer to a new Box3 defined by its minimum and maximum coordinates.
NewCatmullRomSpline creates and returns a pointer to a new curve Uses array of Vector3 pointers with int npoints as the desired number of points between supplied points Use Boolean closed with true to close the start and end points.
NewColor creates and returns a pointer to a new Color with the specified web standard color name (case insensitive).
NewColor4 creates and returns a pointer to a new Color4 with the specified standard web color name (case insensitive) and an optional alpha channel value.
NewColorHex creates and returns a pointer to a new color with its RGB components from the specified hex value.
NewFrustum returns a pointer to a new Frustum object.
NewFrustumFromMatrix creates and returns a Frustum based on the provided matrix.
NewHermiteSpline creates and returns a pointer to a new curve Uses Vector3 pointers origin, tangent1, destination, and tangent2 to calculate with int npoints as the desired number of points along the curve.
NewLine3 creates and returns a pointer to a new Line3 with the specified start and end points.
NewMatrix3 creates and returns a pointer to a new Matrix3 initialized as the identity matrix.
NewMatrix4 creates and returns a pointer to a new Matrix4 initialized as the identity matrix.
NewPlane creates and returns a new plane from a normal vector and a constant.
NewQuaternion creates and returns a pointer to a new quaternion from the specified components.
NewRay creates and returns a pointer to a Ray object with the specified origin and direction vectors.
NewSphere creates and returns a pointer to a new sphere with the specified center and radius.
NewTriangle returns a pointer to a new Triangle object.
NewVec2 creates and returns a pointer to a new zero-ed Vector2.
NewVec3 creates and returns a pointer to a new zero-ed Vector3.
NewVec4 creates and returns a pointer to a new zero-ed Vector4 (with W=1).
NewVector2 creates and returns a pointer to a new Vector2 with the specified x and y components.
NewVector3 creates and returns a pointer to a new Vector3 with the specified x, y and y components.
NewVector4 creates and returns a pointer to a new Vector4.
Normal returns the triangle's normal.
RadToDeg converts a number from radians to degrees.
# Structs
Box2 represents a 2D bounding box defined by two points: the point with minimum coordinates and the point with maximum coordinates.
Box3 represents a 3D bounding box defined by two points: the point with minimum coordinates and the point with maximum coordinates.
Color describes an RGB color.
Color4 describes an RGBA color.
Curve constructs an array of Vector3.
Frustum represents a frustum.
Line3 represents a 3D line segment defined by a start and an end point.
Plane represents a plane in 3D space by its normal vector and a constant.
Quaternion is quaternion with X,Y,Z and W components.
Ray represents an oriented 3D line segment defined by an origin point and a direction vector.
Sphere represents a 3D sphere defined by its center point and a radius.
Triangle represents a triangle made of three vertices.
Vector2 is a 2D vector/point with X and Y components.
Vector3 is a 3D vector/point with X, Y and Z components.
Vector4 is a vector/point in homogeneous coordinates with X, Y, Z and W components.