marauder2k7
ab4b4cbf96
cramer for inverse
...
added #if block around inverse methods to track down shadow bug
uses old inverse method as default for now.
2024-07-31 17:32:00 +01:00
marauder2k7
4078f3ad4e
inverse fixes
...
further tests showed issues with inverse function, now to better match what was originally happening, the inverse only happens on the 3x3 portion of the matrix and translation is handled separately.
Frustum test now uses more real world examples of a projection matrix. Test for the full unproject stack of math to test its result as unproject was where the issue about inverse originated
2024-07-30 17:54:16 +01:00
marauder2k7
f96e044d89
unit tests and fixes
...
implemented the rest of the tests
euler single dimension angle tests now pass, missed 1.0f in z
2024-07-30 13:00:32 +01:00
marauder2k7
d03851958d
more fixes
...
more unit tests revealed more discrepancies fixes applied.
2024-07-30 08:30:42 +01:00
marauder2k7
a5de2d9add
tests
...
added more unit tests to match values between templated and matrix
tests showed discrepancies in affineInverse, fixed the function to return what is expected.
2024-07-30 07:20:57 +01:00
marauder2k7
5883e3d45b
Update mathMatrixTest.cpp
...
test box multiplication
test transformPlane
2024-07-29 22:46:16 +01:00
marauder2k7
8c19f6d8ca
inverse function
...
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00
marauder2k7
fc058aaa5c
Update mathMatrixTest.cpp
...
change mul tests to use more real world examples
2024-07-29 20:45:30 +01:00
marauder2k7
409f523dc3
Update mathMatrixTest.cpp
...
more tests that match between template and matrixf
2024-07-29 20:01:39 +01:00
marauder2k7
f77ff37e08
Create mathMatrixTest.cpp
...
committed tests for matrix class
so far all tests are matching between templated and stock matrixf class
2024-07-29 19:24:33 +01:00
marauder2k7
54bb31c8bc
Update mMatrix.h
...
bracket lines
change functions to match mmath_c to figure out where the issue is.
2024-07-29 17:24:23 +01:00
marauder2k7
75c5a0919b
Update mMatrix.h
...
silence issues from macos clang
2024-07-29 16:39:08 +01:00
marauder2k7
2fa15191ae
Update mMatrix.h
...
most working example
2024-07-28 20:40:26 +01:00
marauder2k7
504b549ac0
Update mMatrix.h
2024-07-28 19:38:02 +01:00
marauder2k7
c61d36b799
closest
...
backup closest working example, no errors or warnings from compile, matrices arent correct though yet.
2024-07-28 19:36:07 +01:00
marauder2k7
888332a85c
rest of the implementation
...
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
marauder2k7
8f8cc32636
normalize and affineInverse
...
added functions for normalize and affineInverse
2024-07-28 11:54:44 +01:00
marauder2k7
2cee5f7e10
mul and operators
...
add mul functions and operators
code conformity changes
2024-07-28 09:02:49 +01:00
marauder2k7
02b5e85f61
implement struct example
2024-07-28 07:04:23 +01:00
marauder2k7
c0bcb8bd00
Update mMatrix.cpp
...
fix comment, torque is already column major, even though doc says its row major
2024-07-28 06:38:11 +01:00
marauder2k7
0f02c878ef
Update mMatrix.h
...
setColumn
setRow
isIdentity
only a few functions left
2024-07-27 23:06:59 +01:00
marauder2k7
dd25f1c58a
backup
...
initial implemenation of templated classes :
Matrix class first.
2024-07-27 15:29:54 +01:00
Areloch
c0dec83a21
Merge pull request #1296 from Azaezel/alpha41/revertReformulation
...
roll back player animation picking
2024-07-26 17:15:46 -05:00
AzaezelX
b5e1b32064
roll back player animation picking
...
old one worked better even if it made the compiler scream
2024-07-26 10:25:02 -05:00
AzaezelX
eaa09a6db7
corrections:
...
fill in missing SceneObjectTypes enums.
parity with simobject.cpp and objecttypes.h
correct inspector display
2024-07-24 20:43:36 -05:00
AzaezelX
72c67e196a
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into Enumnanigans
2024-07-24 17:58:27 -05:00
Brian Roberts
7db28feb67
Merge pull request #1292 from Azaezel/alpha41/openALUpgrade
...
open al upgrade
2024-07-23 14:46:03 -05:00
marauder2k7
324acaf896
Update uuid.cpp
...
code review from Tron better method for uuid toString
2024-07-23 13:36:49 +01:00
marauder2k7
665fc092aa
Update uuid.cpp
...
remove dmalloc
2024-07-23 13:09:23 +01:00
marauder2k7
80a1f0a0c5
Update uuid.cpp
...
add a malloc to target to make sure it has the length to take the string
2024-07-23 08:07:54 +01:00
marauder2k7
0853748f12
Update uuid.cpp
...
2 pass format_token, 1st gets the length required second passes it to target.
2024-07-23 07:58:03 +01:00
marauder2k7
3e57c709d9
Update uuid.cpp
2024-07-23 01:33:26 +01:00
marauder2k7
b1e7b817d2
Update duDebugDrawTorque.cpp
2024-07-22 21:40:57 +01:00
marauder2k7
776a9b9024
Update particleEmitter.h
...
....how was this working before.....
2024-07-22 21:37:51 +01:00
marauder2k7
56a89ee0b0
Update consoleFunctions.cpp
2024-07-22 21:20:54 +01:00
marauder2k7
6807abc8b6
ID10T error
...
no default does not need case -_- id10t error, few other fixes
2024-07-22 21:12:48 +01:00
marauder2k7
a621cc5100
various warnings
...
warnings cleanup
2024-07-22 20:59:48 +01:00
AzaezelX
b12ece4627
from @marauder2k9-torque: remove typedefs as al.h now defines them, linux fix
2024-06-30 15:08:02 -05:00
marauder2k7
547b8c8c8c
Merge remote-tracking branch 'upstream/development' into PhysicsDiscovery-tests
2024-06-25 13:17:39 +01:00
marauder2k7
b0181cc56a
Update astNodes.cpp
...
missed naming
2024-06-18 15:23:52 +01:00
marauder2k7
fed83cdb8f
naming
...
change enum to OP_JMPIFNOTSTRING (same name as others doing similar for different types)
place case with other ifnot statements
2024-06-18 15:15:25 +01:00
marauder2k7
54d0da6690
Update stringFunctions.h
...
changes to dAtob from az
2024-06-18 15:10:24 +01:00
marauder2k7
0d4c335231
test
...
working test without scanstring changes
2024-06-16 23:05:42 +01:00
marauder2k7
d8411b4a58
Update console.h
...
case insensitive
2024-06-16 20:02:57 +01:00
marauder2k7
d6a79e4f5b
if statement
...
treat "true" as a bool in getInt check (inside if statements for strings)
no longer convert all "true" and "false" to ints
2024-06-16 20:01:47 +01:00
marauder2k7
e56f4cb6a6
if statements
...
Changed:
if check on vals now return true if the value has a string value
%val = "test me" if(%val) will now return true since %val is not null
Script side:
string checks for "true" and "false" will now be parsed as integer values of 1 and 0.
TEST VIGOUROUSLY
2024-06-16 15:04:20 +01:00
Brian Roberts
760c153232
Merge pull request #1288 from Azaezel/alpha41/posePoking
...
pickanimation filter fix, with docs
2024-06-15 14:30:52 -05:00
Brian Roberts
b2fad6e3b9
Merge pull request #1287 from Azaezel/alpha41/destructorDefines
...
handle missing virtual destructors
2024-06-15 14:30:40 -05:00
AzaezelX
7ac714606f
proper formulation
2024-06-11 16:08:07 -05:00
AzaezelX
61978fa4da
pickanimation filter fix, with docs
...
sorts the order of operations flaws clang was complaining about, with explainations on why
2024-06-11 15:21:24 -05:00