Commit Graph

1126 Commits

Author SHA1 Message Date
Léo Lam b7b9da8d92 Havok: Fix missing parenthesis in comment 2022-01-16 02:36:36 +01:00
Léo Lam 91dbd90f85 Havok: Add quaternion multiplication 2022-01-16 02:31:31 +01:00
Léo Lam afabdf7132 Havok: Fix matching issue in hkVector4f::set
Annoyingly, v = {x, y, z, w} and vcombine_f32({x, y}, {z, w} lead to
different codegen. It is unclear why Havok decided to split the load
in two parts.
2022-01-16 02:31:31 +01:00
Léo Lam 9ee731c40c Havok: Fix hkVector4f::dot after hkSimdFloat32 storage type change 2022-01-16 02:03:05 +01:00
Léo Lam 93f6b2d2ea Havok: Implement common operations for hkSimdFloat32 2022-01-16 02:03:05 +01:00
Léo Lam a40ef6c860 Havok: Simplify hkSimdFloat32 by always using a vector type 2022-01-16 02:03:05 +01:00
Léo Lam 5c55811abd Havok: Use a typedef for hkSimdFloat32 storage type 2022-01-16 02:03:05 +01:00
Léo Lam 50a51e6e06 tools: Update common 2022-01-16 01:11:50 +01:00
Léo Lam a5b87ccf97 ksys/phys: Fix #include type for Havok header 2022-01-15 19:59:06 +01:00
Léo Lam cee7b169af ksys/phys: Finish RigidBodyMotion 2022-01-15 19:57:59 +01:00
Léo Lam 19888cc607 Havok: Add hkpSphereMotion 2022-01-15 18:37:36 +01:00
Léo Lam 843f2bcd88 Havok: Add hkpBoxMotion 2022-01-15 18:37:36 +01:00
Léo Lam c6f0a3cb4c ksys/phys: Rename flags for clarity in RigidBody 2022-01-15 18:37:35 +01:00
Léo Lam 7fbd3a0e8d ksys/phys: Remove useless semicolon 2022-01-15 18:15:03 +01:00
Léo Lam b298ec2b28 ksys/phys: Add remaining RigidBodyMotionProxy functions (except one) 2022-01-15 18:13:27 +01:00
Léo Lam ddb704bc22 Havok: Add hkMathHeaderConstants 2022-01-14 23:53:07 +01:00
Léo Lam c771cd4cb0 Havok: Add quaternion component access functions 2022-01-14 23:53:07 +01:00
Léo Lam e5dc569cd6 Havok: Fix typos in hkVector4f::_setRotatedDir 2022-01-14 15:03:13 +01:00
Léo Lam ea9cc90f29 ksys/phys: Fix indirect <cstring> include in RigidBodyMotion 2022-01-14 13:14:24 +01:00
Léo Lam 988c00c545 Sync function list with IDB 2022-01-14 13:10:12 +01:00
Léo Lam 97938cc48e ksys/phys: Start adding RigidBodyMotion 2022-01-14 13:04:25 +01:00
Léo Lam fa2c98ddd5 Havok: Fix hkpMotion::getMassInv() return type 2022-01-14 02:27:18 +01:00
Léo Lam 56e8fea33c lib: Update sead 2022-01-14 02:27:17 +01:00
Léo Lam 65ab9695e9 Havok: Fix hkSimdFloat32 for Neon 2022-01-14 01:07:45 +01:00
Léo Lam d696cfa65d Havok: Silence hkHalf copy constructor warning 2022-01-13 22:42:08 +01:00
Léo Lam 359fb2685b ksys/phys: Rename getMotionInfo to getMotionType for clarity 2022-01-13 19:10:11 +01:00
Léo Lam 5001b38218 Havok: Fix matching issue in copy assignment operator for hkVector4f 2022-01-13 19:06:17 +01:00
Léo Lam 1511ec620d Havok: Fix various hkpMotion setters 2022-01-13 18:59:57 +01:00
Léo Lam 2acf2ba0a4 Havok: Add hkVector4f::allEqual 2022-01-13 18:45:40 +01:00
Léo Lam 11b7f1aab1 Sync function list with IDB 2022-01-13 18:03:29 +01:00
Léo Lam 2093ef16dc Havok: Fix includes in hkSweptTransformf.h 2022-01-13 18:01:23 +01:00
Léo Lam 5831b9581d ksys/phys: Make MotionAccessor's getMotion less ambiguous
RigidBodyMotion has its own hkpMotion so we should make it clearer that
getMotion returns the rigid body's own internal motion.
2022-01-13 18:01:23 +01:00
Léo Lam 2b83356056 ksys/phys: Start adding RigidBodyMotionProxy 2022-01-13 16:32:27 +01:00
Léo Lam e897b1d5fa lib: Update sead 2022-01-13 15:57:00 +01:00
Léo Lam e6fe634578 Revert "Havok: Fix signature of hkpRigidBody::updateCachedShapeInfo"
This reverts commit 2e756280af.

I mistook hkpRigidBody::updateCachedShapeInfo for hkpRigidBody::setCenterOfMassLocal.
2022-01-13 13:09:16 +01:00
Léo Lam cd75ca724a ksys/phys: Rewrite toMtx34 without using intrinsics
Doing the assignments in this specific pattern of assignments is
sufficient to get the desired (bad) codegen when combined with
hkVector4f's operator() (which was added recently).
2022-01-13 12:53:28 +01:00
Léo Lam 278b088bd1 ksys/phys: Rename RigidBodyParamView to RigidBodyInstanceParam for clarity 2022-01-13 12:14:05 +01:00
Léo Lam 3d9664ed52 Havok: Add more hkTransformf functions 2022-01-13 02:47:07 +01:00
Léo Lam bcbc8bd2ea ksys/phys: Fix a nasty typo in toHkQuat 2022-01-13 02:47:07 +01:00
Léo Lam d37e60d7e8 ksys/phys: Rename two MotionAccessor functions for clarity 2022-01-12 22:59:51 +01:00
Léo Lam 622feda5b7 tools: Update common 2022-01-12 22:37:37 +01:00
Léo Lam f3fb6b5d54 Havok/hkVector4f: Add dot, setDot, lengthSquared 2022-01-12 13:11:23 +01:00
Léo Lam 2e756280af Havok: Fix signature of hkpRigidBody::updateCachedShapeInfo 2022-01-12 12:42:28 +01:00
Léo Lam a8f887fdf2 Sync function list with IDB 2022-01-11 23:44:07 +01:00
Léo Lam 88921dbd7a ksys/phys: Add 3 easy RigidBody functions and fix some types 2022-01-11 22:13:55 +01:00
Léo Lam 51c3397965 ksys/phys: Rename RigidBody::Flag1 to RigidBody::Flag
There's no flag enum named "Flag"
2022-01-11 17:28:25 +01:00
Léo Lam 625f958622 Fix name conflicts in the function CSV 2022-01-11 01:16:41 +01:00
Léo Lam 0dd0c3e87f Add placeholder function names from the IDB 2022-01-11 01:15:52 +01:00
Léo Lam 67ad8ea260 Add missing functions to the function CSV
Those had previously been missed.
2022-01-11 01:05:06 +01:00
Léo Lam 6ef3bb9327 ksys/phys: Add RigidBodyAccessor 2022-01-10 01:38:20 +01:00