Namespace Elegy.Common.Maths
Classes
- Coords
Elegy's coordinate system.
Structs
- Box3
Axis-aligned bounding box. Box3 consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
- PlaneD
Represents a plane in three-dimensional space.
- Rect2
2D axis-aligned bounding box. Rect2 consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
- Rect2I
2D axis-aligned bounding box using integers. Rect2I consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
- Vector2D
2-element structure that can be used to represent positions in 2D space or any other pair of numeric values.
- Vector2I
2-element structure that can be used to represent 2D grid coordinates or pairs of integers.
- Vector2SB
4-element structure that can be used to represent 4D grid coordinates or sets of integers.
- Vector3D
3-element structure that can be used to represent positions in 3D space or any other pair of numeric values.
- Vector3I
3-element structure that can be used to represent 3D grid coordinates or sets of integers.
- Vector4B
4-element structure that can be used to represent 4D grid coordinates or sets of integers.
- Vector4D
4-element structure that can be used to represent positions in 4D space or any other pair of numeric values.
- Vector4I
4-element structure that can be used to represent 4D grid coordinates or sets of integers.
- Vector4SB
4-element structure that can be used to represent 4D grid coordinates or sets of integers.
Enums
- Axis
Enumerated index values for the axes. Returned by MaxAxisIndex() and MinAxisIndex().