Expand description
§Summary
Oxygen Quark is a maths library primarily aimed for the Oxygen game engine. Use for it in any other project is allowed and encouraged.
- It holds parts of linear algebra: square matrices along two-dimensional and three-dimensional vectors.
- It is also containing a
Fractiondata-type to allow for more precise calculations when floating-point is proven inaccurate. - The last part is the imaginary part, holding
Quaternionas well asComplexdata-types, one for three-dimensional rotations and the other for mathematical completeness.
§Vector
The module containing the implementation details for Vector2d and Vector3d.
§Matrix
This module holds the implementations of Matrix2x2, Matrix3x3 and Matrix4x4.
§Imaginary
This module contains Complex and Quaternion implementations.
§Fraction
This module yields the implementation for Fraction.
Modules§
- colour
- fraction
- Holds the implementation for the
Fractiondata-type. - imaginary
- Holds the implementations for
ComplexandQuaternion. - matrix
- Holds the implementations for
Matrix2x2,Matrix3x3andMatrix4x4. - prelude
- vector
- Holds the implementations for
Vector2dandVector3d.