mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-20 21:00:52 +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
|
|
@ -99,7 +99,7 @@ namespace math_backend::float3
|
|||
f32x4 invLen = v_mul(v_set1(r), v_rsqrt_nr(v_dot3(va, va)));
|
||||
|
||||
f32x4 vnorm = v_mul(va, invLen);
|
||||
v_store(a, vnorm);
|
||||
v_store3(a, vnorm);
|
||||
}
|
||||
|
||||
// Linear interpolation: r = from + (to - from) * f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue