mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-21 05:10:53 +00:00
all float3 and float4 functions and isas
completed all options of float3 and float4 functions in isas and math_c neon still to be done but that will be on mac.
This commit is contained in:
parent
18d0aa0418
commit
f0a3251cd3
16 changed files with 593 additions and 90 deletions
|
|
@ -111,4 +111,12 @@ namespace math_backend::float4
|
|||
v_store(r, vr);
|
||||
}
|
||||
|
||||
inline void float4_cross_impl(const float* a, const float* b, float* r)
|
||||
{
|
||||
f32x4 va = v_load(a);
|
||||
f32x4 vb = v_load(b);
|
||||
f32x4 vcross = v_cross(va, vb);
|
||||
v_store(r, vcross);
|
||||
}
|
||||
|
||||
} // namespace math_backend::float4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue