math

template<typename T = f32>
struct mat4_impl

A 4 by 4 matrix, column major order.

Todo:

Use std::simd when it’s implemented.

Warning

Does not defualt initialize to zero.

template<typename T = f32>
struct vec2_impl

A vector of TWO Ts.

Warning

Does not defualt initialize to zero.

template<typename T = f32>
struct vec3_impl

A vector of THREE Ts.

Warning

Does not defualt initialize to zero.

template<typename T = f32>
struct vec4_impl

A vector of FOUR Ts.

Warning

Does not defualt initialize to zero.