Crate oxygen_quark
source ·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
Fraction
data-type to allow for more precise calculations when floating-point is proven inaccurate. - The last part is the imaginary part, holding
Quaternion
as well asComplex
data-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
.