mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-19 04:10:54 +00:00
most matrix functions are converted over, no benefit to converting over the project/ortho because they would be scalar anyway but may need to move them regardless.
22 lines
753 B
C++
22 lines
753 B
C++
#include "avx_intrinsics.h"
|
|
#include "mat44_dispatch.h"
|
|
|
|
#include "mat44_impl.inl"
|
|
|
|
namespace math_backend::mat44::dispatch
|
|
{
|
|
void install_avx()
|
|
{
|
|
gMat44.transpose = mat44_transpose_impl;
|
|
gMat44.inverse = mat44_inverse_impl;
|
|
gMat44.affine_inverse = mat44_affine_inverse_impl;
|
|
gMat44.mul_mat44 = mat44_mul_mat44_impl;
|
|
gMat44.mul_pos3 = mat44_mul_pos3_impl;
|
|
gMat44.mul_vec3 = mat44_mul_vec3_impl;
|
|
gMat44.mul_float4 = mat44_mul_float4_impl;
|
|
gMat44.scale = mat44_scale_impl;
|
|
gMat44.get_scale = mat44_get_scale_impl;
|
|
gMat44.normalize = mat44_normalize_impl;
|
|
gMat44.determinant = mat44_get_determinant;
|
|
}
|
|
}
|