Closed Paracetamol56 closed 1 year ago
2D and 3D tranformation supported for Matrix3
static const Matrix3<T> translation(Vector2<T> translation);
static const Matrix3<T> translation(Vector3<T> translation);
static const Matrix3<T> rotation(T rotation);
static const Matrix3<T> rotation(Quaternion<T> rotation);
static const Matrix3<T> scale(Vector2<T> scale);
static const Matrix3<T> scale(Vector3<T> scale);
3 static functions to implement in the
Matrix3<T>
class.