mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-20 04:40:54 +00:00
further sse simd additions
avx2 float3 added added normalize_magnitude added divide fast to float3 may copy to float4 move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend
This commit is contained in:
parent
2559145c06
commit
18d0aa0418
16 changed files with 337 additions and 77 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#include "console/engineAPI.h"
|
||||
|
||||
#include "math/mMath.h"
|
||||
|
||||
#include "math/public/math_backend.h"
|
||||
|
||||
extern void mInstallLibrary_C();
|
||||
extern void mInstallLibrary_ASM();
|
||||
|
|
@ -98,6 +98,8 @@ void Math::init(U32 properties)
|
|||
Con::printf(" Installing Standard C extensions");
|
||||
mInstallLibrary_C();
|
||||
|
||||
math_backend::install_from_cpu_flags(properties);
|
||||
|
||||
Con::printf(" Installing Assembly extensions");
|
||||
mInstallLibrary_ASM();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue