Torque3D/Engine/source/math
marauder2k7 67f12311d4 ISA backends float3 and float4 - cleanup history squash
working for both neon32 and neon64

Update math_backend.cpp

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

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.

Update math_backend.cpp

mac isa neon update

added float3
restructured the classes to look more like the final version of the x86 classes

linux required changes

Update build-macos-clang.yml

Update build-macos-clang.yml

Revert "Update build-macos-clang.yml"

This reverts commit 29dfc567f4.

Revert "Update build-macos-clang.yml"

This reverts commit 2abad2b4ca.

Update CMakeLists.txt

fix macs stupid build

remove god awful rolling average from frame time tracker....

use intrinsic headers instead

each isa implementation now uses a header for that isa's intrinsic functions these are then used in the impl files. This will make it easier for matrix functions when those are implemented.

fixed comment saying 256 when it should be 512 for avx512

consolidated initializers for function tables

Update neon_intrinsics.h

fixes for some neon intrinsics no idea if this is the best way to do these but they work at least

v_cross is especially messy at the moment we basically just do it as a c math function need to look into getting this done correctly
2026-03-05 18:55:34 +00:00
..
impl ISA backends float3 and float4 - cleanup history squash 2026-03-05 18:55:34 +00:00
isa ISA backends float3 and float4 - cleanup history squash 2026-03-05 18:55:34 +00:00
public ISA backends float3 and float4 - cleanup history squash 2026-03-05 18:55:34 +00:00
test unit test improved precision 2024-08-01 05:04:13 +01:00
util code review with az 2024-12-05 00:17:44 +00:00
mAngAxis.cpp AngAxis toEuler 2023-06-13 15:11:28 +01:00
mAngAxis.h rest of the implementation 2024-07-28 14:35:34 +01:00
mathIO.h ease member vars tagged as member vars 2018-03-14 15:45:45 -05:00
mathTypes.cpp Update mathTypes.cpp 2025-05-16 17:27:34 +01:00
mathTypes.h rest of the implementation 2024-07-28 14:35:34 +01:00
mathUtils.cpp use consistent clipping 2024-04-10 15:17:24 -05:00
mathUtils.h Adds the getSignedAngleBetweenVectors function, which is like the existing getAngleBetweenVectors, but will returned a signed angle value, which helps to inform the full 360 angle, rather than the 'nearest 180'. 2017-02-19 23:00:54 -06:00
mBox.cpp Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
mBox.h rest of the implementation 2024-07-28 14:35:34 +01:00
mBoxBase.h Merge pull request #1807 from Azaezel/boxBaseBorked 2016-10-24 01:28:25 -05:00
mConsoleFunctions.cpp typofix 2024-04-10 16:27:30 -05:00
mConstants.h Clean up MSVC warning [C4305]: truncation from 'double' to 'F32' 2019-02-02 23:07:44 -05:00
mEase.cpp ease member vars tagged as member vars 2018-03-14 15:45:45 -05:00
mEase.h ease member vars tagged as member vars 2018-03-14 15:45:45 -05:00
mIntersector.h tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places. 2017-12-27 22:57:47 -06:00
mMath.h AngAxis toEuler 2023-06-13 15:11:28 +01:00
mMath_ASM.asm Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mMath_C.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mMathFn.h init commit 2025-01-23 22:12:52 +00:00
mMathSSE.cpp Added x64 check for SSE Intrinsic functions 2016-09-02 05:10:46 +01:00
mMathSSE_ASM.asm Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mMatrix.cpp rest of the implementation 2024-07-28 14:35:34 +01:00
mMatrix.h BUG: Probe baking look at matrix was wrong 2025-01-07 15:44:19 +00:00
mOrientedBox.cpp Fix for Issue #136 for Zoning Bug 2012-11-08 18:19:33 -05:00
mOrientedBox.h rest of the implementation 2024-07-28 14:35:34 +01:00
mPlane.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mPlane.h uninitialized variables-math 2020-05-11 16:17:40 -05:00
mPlaneSet.h uninitialized variables-math 2020-05-11 16:17:40 -05:00
mPlaneTransformer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mPlaneTransformer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mPoint.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mPoint2.h more arithmetic overflow warns 2023-05-01 10:43:11 -05:00
mPoint3.h ISA backends float3 and float4 - cleanup history squash 2026-03-05 18:55:34 +00:00
mPoint4.h ISA backends float3 and float4 - cleanup history squash 2026-03-05 18:55:34 +00:00
mPolyhedron.cpp PolyhedronVectorData core membervar cleanups 2018-03-14 15:18:00 -05:00
mPolyhedron.h template mixins need this-> specified 2022-02-14 19:50:37 -06:00
mPolyhedron.impl.h PolyhedronVectorData core membervar cleanups 2018-03-14 15:18:00 -05:00
mQuadPatch.cpp Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
mQuadPatch.h rest of virtuals removed 2024-03-18 18:40:22 +00:00
mQuat.cpp Optimized code 2015-02-12 11:00:25 -08:00
mQuat.h rest of the implementation 2024-07-28 14:35:34 +01:00
mRandom.cpp U32 MRandomLCG::randI() was using longs 2015-09-09 15:22:19 -05:00
mRandom.h virtuals removed 2024-03-18 18:13:00 +00:00
mRandomDeck.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mRandomSet.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mRect.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mRect.h Fix for RectF::intersectTriangle() 2013-11-06 14:17:44 -05:00
mRotation.cpp define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
mRotation.h Adds some helpful utility math functions. 2016-11-28 22:42:29 -06:00
mSilhouetteExtractor.h clang: constructor initialization order 2016-10-14 18:16:55 -05:00
mSolver.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
mSphere.cpp Addresses roughly half of the C4189 errors though the following methodologies: 2015-07-29 03:03:27 -05:00
mSphere.h uninitialized variables-math 2020-05-11 16:17:40 -05:00
mSplinePatch.cpp Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
mSplinePatch.h Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
mTransform.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00