Commit Graph

52 Commits

Author SHA1 Message Date
Dander7BD 73e9629832 Removed incorrect Quaternion to AngAxis conversion
use Float3 AngularAxis( const Quaternion &rotation ) in ::Oyster::Math3D
instead
2014-02-14 15:33:17 +01:00
Dander7BD 911700676c human error fix 2014-02-14 15:24:19 +01:00
Dander7BD c85cecd05a som more stuff
created another version of Quaternion to Angular Axis conversion.
2014-02-14 15:19:10 +01:00
Dander7BD 813a97cfbf Merge remote-tracking branch 'origin/GamePhysics' into Camera 2014-02-11 14:15:00 +01:00
Robin Engman 5d245d7151 Added quaternion to angular axis in Math 2014-02-11 14:00:38 +01:00
Dander7BD d5e85b4258 minor refractoring 2014-02-11 09:32:49 +01:00
Dander7BD 1e70640d6e Premerge
not compilable
2014-02-10 16:30:47 +01:00
Dander7BD 1a86ed23cc Float3 SnapAngular compile error fix 2014-02-10 15:19:06 +01:00
Dander7BD 30196aebc2 Float3 SnapAngularAxis fix 2014-02-10 14:30:15 +01:00
Dander7BD 4fb684019c Added ScalingMatrix function 2014-02-10 13:41:37 +01:00
Dander7BD 800d5d0505 Camera_Basic stuff 2014-02-10 13:01:46 +01:00
Dander7BD abdb820b09 Added RotationMatrix for Float3x3 2014-02-10 11:59:35 +01:00
Dander7BD 358cddfd9a SnapAngularAxis fix
floating point error there acos param could be slightly higher than 1.
Caused it to return undefined.
A clamp ought to fix it.
2014-02-03 16:20:16 +01:00
Dander7BD 8b0e1b2426 Big patch! New feature :)
Objects will now rebound back when colliding.
2014-02-03 15:48:55 +01:00
Dander7BD 2a816469d5 SnapAngularAxis fix 2014-01-31 14:40:09 +01:00
Dander7BD 22d0722dfa SnapAngularFix
compilation fix
forgot to remove a copy pasted comma
2014-01-31 14:29:49 +01:00
Dander7BD 79872a45ee SnapAngularAxis fix + added overload
compilation error fix
+ Float3 version
2014-01-31 14:27:33 +01:00
Dander7BD 7a62121fa0 SnapAngularAxis fix
accidently used asin instead of acos
2014-01-31 13:49:09 +01:00
Dander7BD ac635ccaef SnapAngularAxis fix 2014-01-31 13:47:40 +01:00
Dander7BD 190f7e2882 SnapAngularAxis introduced 2014-01-31 13:42:55 +01:00
Dander7BD 201095eb41 Merge remote-tracking branch 'origin/Moment-of-Inertia' into Physics 2014-01-28 09:00:47 +01:00
Dander7BD 4d6cfaf046 ... part 3 -_- 2014-01-28 08:57:14 +01:00
Dander7BD 4e4aaf881a Inactivated code part 2
Matrix to angularAxis conversions in OysterMath
2014-01-28 08:56:29 +01:00
Dander7BD cbdce81b20 Inactivated code
Matrix to Angular Axis
2014-01-28 08:54:20 +01:00
Dander7BD 30054a8c23 Slerp compile fix 2014-01-24 17:48:49 +01:00
Dander7BD b4eb3eb25d Slerp
Quaternion Slerp
2014-01-24 17:39:09 +01:00
Dander7BD 2da3dd29fc InterpolateOrientation_UsingNonRigidNlerp 2014-01-24 16:32:54 +01:00
Dander7BD ee5392c60d Vector::PiecewiseMultiplicationAdd
and a few other minor changes in the math lib
2014-01-23 18:34:48 +01:00
Dander7BD ff1fbdffa1 Vector::PiecewiseMultiplication 2014-01-23 17:13:50 +01:00
Dander7BD 65db1bf90d lerp fix 3 2014-01-21 12:11:30 +01:00
Dander7BD 0d39240fc2 lerp fix 2 2014-01-21 12:08:31 +01:00
Dander7BD b422d2d509 lerp fix 2014-01-21 12:01:12 +01:00
Dander7BD 9a2d2b9490 Interpolation methods referred in ::Oyster::Math & Math3D 2014-01-21 11:23:03 +01:00
Dander7BD 408d51e46b SnapAxisYToNormal_UsingNlerp implemented 2014-01-21 11:15:33 +01:00
Dander7BD 7087421bb9 InterpolateAxisYToAxis_Nlerp implemented 2014-01-21 10:32:44 +01:00
Dander7BD 748023bf9e Vector Nlerp fix 2014-01-21 08:57:18 +01:00
Dander7BD 28fbcebf98 general lerp & vector nlerp 2014-01-20 18:45:34 +01:00
Dennis Andersen 42de421904 Master - Modified igore 2014-01-08 13:07:55 +01:00
Dander7BD ec9f2379c7 Minor bug fixes in math librrary 2013-12-20 12:08:26 +01:00
Dander7BD bbc489eac9 RigidBody improved and Gimbal lock proofed 2013-12-20 12:08:25 +01:00
Dander7BD 5051a9e767 Major StateStruct and API update 2013-12-20 12:07:45 +01:00
Dander7BD 5835a72acc Setstruct introduction done
Can be found as:
Physics::Struct::CustomBodyState
Physics::ICustomBody::State
Is all inline thus no expensive API calls, as intended.
Will be expanded to move API call methods from Physics::ICustomBody to
it.
2013-12-06 09:46:30 +01:00
Dander7BD d0936f9133 InverseRotationMatrix fixed
Compiler overstepping its bound, doing whatever it wants.
2013-12-04 14:22:25 +01:00
Dander7BD 6ba10d48c6 Some matrix constructors made explicit 2013-11-27 15:24:09 +01:00
Dander7BD dad958b612 Added Math3D methods
ViewMatrix_LookAtDirection
ViewMatrix_LookAtPos

as requested by Pär
2013-11-22 10:49:17 +01:00
Robin Engman ba4576a07a Fixed projection and added overload function.
Overload function is for a different way of building FOV projection
matrices.
2013-11-22 10:44:06 +01:00
Dander7BD f7240ef16b Corrected OrientationMatrix_LookAtDirection
Z Axis were incorrectly negated
2013-11-22 10:23:00 +01:00
Dander7BD dc9f4597e2 Added OrientationMatrix build methods + other stuff 2013-11-21 15:19:32 +01:00
Dander7BD f51d2312dd RigidBody DONE
Needs only testing for confirmations
2013-11-21 11:39:11 +01:00
Dander7BD baec4b0392 Box updated
orientation Matrix have been split into a rotation Matrix and a
translation Vector
2013-11-20 16:59:12 +01:00