Math

Variety of general purpose math functionality.

Classes

  • TDegree — Wrapper class which indicates a given angle value is in degrees.
  • TRadian — Wrapper class which indicates a given angle value is in radians.
  • Math Utility class providing common scalar math operations.
  • TTransform — Contains information about 3D object's position, rotation and scale, and provides methods to manipulate it.
  • Complex Complex numbers.
  • Line2 — A line in 2D space represented with an origin and direction.
  • MatrixNxM — Class representing a NxM matrix.
  • Random — Generates pseudo random numbers using the Xorshift128 algorithm.
  • Rect3 — Represents a rectangle in three dimensional space.
  • Torus — Represents a torus at the world center.

Structs

  • TSize3 — Encapsulates width/height/depth in a single structure.
  • TUnitValue — Contains a number value and an associated unit.
  • TVector3 — A three dimensional vector.
  • TQuaternion — Represents a quaternion used for 3D rotations.
  • TSize2 — Encapsulates width/height in a single structure.
  • TVector2 — A two dimensional vector.
  • TVector4 — A four dimensional vector.
  • TMatrix3 — A 3x3 matrix.
  • TPlane — A plane represented by a normal and a distance.
  • TMatrix4 — Class representing a 4x4 matrix, in row major format.
  • TArea2 — Represents a 2D area.
  • TAABox Axis aligned box represented by minimum and maximum point.
  • TSphere — A sphere represented by a center point and a radius.
  • TBounds — Bounds represented by an axis aligned box and a sphere.
  • TLineSegment3 — Represents a line segment in three dimensional space defined by a start and an end point.
  • TCapsule — Represents a capsule with a line segment and a radius.
  • TConvexVolume — Represents a convex volume defined by planes representing the volume border.
  • TRay — A ray in 3D space represented with an origin and direction.
  • simd::AABox — Version of AABox suitable for SIMD use.
  • simd::Area2 — Version of Area2 suitable for SIMD use.
  • simd::Range — Version of Range suitable for SIMD use.
  • TVector3I — A three dimensional vector with integer coordinates.
  • TVector4I — A four dimensional vector with integer coordinates.

Enums

  • EulerAngleOrder — Values that represent in which order are euler angles applied when used in transformations.
  • ZeroTag — Enum used for object construction specifying the object should be zero initialized.
  • IdentityTag — Enum used for matrix/quaternion constructor specifying it should be initialized with an identity value.
  • PlaneSide — The "positive side" of the plane is the half space to which the plane normal points.
  • TAABox::Corner — Different corners of a box.
  • FrustumPlane — Clip planes that form the camera frustum (visible area).

Internal

Symbols intended for engine-internal use. Not part of the public API.

Structs