mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
matrix functions
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.
This commit is contained in:
parent
67f12311d4
commit
bc3145bc55
21 changed files with 1881 additions and 136 deletions
22
Engine/source/math/isa/sse2/mat44.cpp
Normal file
22
Engine/source/math/isa/sse2/mat44.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "sse2_intrinsics.h"
|
||||
#include "mat44_dispatch.h"
|
||||
|
||||
#include "mat44_impl.inl"
|
||||
|
||||
namespace math_backend::mat44::dispatch
|
||||
{
|
||||
void install_sse2()
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue