Léo Lam
d277eac80e
ksys/phys: Move BoxShapeParam::createShape to BoxShape::make
...
The same BoxShapeParam class is used for two different shape classes
(BoxShape and BoxWaterShape) so it's more natural to move the factory
function to the shape class itself
2022-02-01 17:08:03 +01:00
Léo Lam
2cd2d9dc69
Havok: Add hkpPlaneShape
2022-02-01 16:49:05 +01:00
Léo Lam
6b302518fb
ksys/phys: Finish BoxRigidBody
2022-02-01 16:21:51 +01:00
Léo Lam
a8915c9b05
ksys/phys: Finish BoxShapeParam
2022-01-31 19:54:06 +01:00
Léo Lam
26bd1402f2
ksys/phys: Mark BoxShapeParam::createShape as const
2022-01-31 19:48:27 +01:00
Léo Lam
e596296799
ksys/phys: Use util::allocStorage in CapsuleShape to simplify allocation
...
Removes the need to write sizeof(T) and alignof(T).
2022-01-31 12:43:50 +01:00
Léo Lam
5c6f24368d
ksys/phys: Implement BoxShape
2022-01-31 11:10:47 +01:00
Léo Lam
32b9175c9c
lib: Update sead
2022-01-31 02:15:43 +01:00
Léo Lam
9c68ef62b5
Havok: Add hkpConvexTransformShape and hkQsTransform (stub)
2022-01-30 21:05:30 +01:00
Léo Lam
3a2ba7a23a
Havok: Add hkpBoxShape
2022-01-30 19:36:17 +01:00
Léo Lam
ff2e2f9ff7
ksys/phys: Start adding BoxRigidBody
2022-01-30 19:28:36 +01:00
Léo Lam
716916d863
ksys/phys: Rename WaterCylinder to CylinderWater for consistency
...
"Water" is used as a suffix (e.g. a box of water is called "BoxWater",
not "WaterBox").
This naming convention has the benefit of keeping related shape types
next to each other in the source file list.
2022-01-30 18:24:10 +01:00
Léo Lam
a6428425a5
ksys/phys: Implement most of RigidBodyFromShape
2022-01-30 18:13:06 +01:00
Léo Lam
30533da83d
ksys/phys: Merge physShapeParam param classes with RigidBody/Shape
2022-01-30 17:40:17 +01:00
Léo Lam
6519cce927
ksys/phys: Start merging physShapeParam with RigidBody/Shape
...
Turns out we already have a bunch of ShapeParam classes in
physShapeParam and parts of RigidBody/Shape are just
duplicates -- whoops.
ShapeParam is renamed to ShapeParamObj to avoid any confusion
with the (.*)ShapeParam classes.
2022-01-30 17:07:34 +01:00
Léo Lam
6263107301
ksys/phys: Start adding RigidBodyFromShape
2022-01-30 16:45:16 +01:00
Léo Lam
891b95efff
ksys/phys: Fix a bool flag being defined as u32 in RigidBodyFactory
2022-01-30 11:40:11 +01:00
Léo Lam
682897091a
ksys/phys: Rename some variables that were missed in 60e2b166
2022-01-30 02:21:42 +01:00
Léo Lam
60e2b1664f
ksys/phys: Rename Shape/Body classes to avoid confusion
...
What we currently call BoxBody, CapsuleBody, etc. is actually
BoxShape, CapsuleShape, etc. (those classes encapsulate Havok shapes)
So this commit renames Body -> Shape and Shape -> ShapeParam.
2022-01-30 02:20:12 +01:00
Léo Lam
a1a283acf7
ksys/phys: Add more InstanceSet members
2022-01-30 00:55:12 +01:00
Léo Lam
d9eeeb6ecc
ksys/phys: Add RigidBodySet
2022-01-30 00:17:02 +01:00
Léo Lam
70d6ec2ae7
Sync function list with IDB
2022-01-30 00:04:36 +01:00
Léo Lam
92736207f8
Merge pull request #80 from savage13/mPMap2
...
More PlacementMap functions
2022-01-29 23:59:05 +01:00
Brian Savage
3bb33875b3
More PlacementMap functions
2022-01-29 17:37:42 -05:00
Léo Lam
93bc93051c
Merge pull request #79 from savage13/mPMap1
...
Add initial PlacementMap functions
2022-01-29 14:18:49 +01:00
Brian Savage
7a3c0b261a
Add initial PlacementMap functions
2022-01-29 07:51:03 -05:00
Léo Lam
532e83a2fa
ksys/phys: Declare all remaining RigidBody functions
2022-01-29 13:01:57 +01:00
Léo Lam
61201ca54b
ksys/phys: Rename RigidBody/UserTag broadphase border callbacks
2022-01-29 12:48:38 +01:00
Léo Lam
10d3f129b0
ksys/phys: Add RigidBody velocity calc and warping functions
2022-01-29 01:30:34 +01:00
Léo Lam
82286fa560
Havok: Add hkVector4f::_setRotatedDir
2022-01-28 20:32:59 +01:00
Léo Lam
907768910f
Havok: Simplfy hkVector4f::setAddMul/setSubMul
2022-01-28 20:32:59 +01:00
Léo Lam
eda37507ba
Havok: Split some math headers to avoid header dependency issues
2022-01-28 18:41:09 +01:00
Léo Lam
0ef08bde7e
Havok: Simplify hkSimdFloat32::sqrt/sqrtInverse
2022-01-28 15:43:17 +01:00
Léo Lam
a3bf47bd9d
Havok: Add hkQuaternionf::setMulInverse/setInverseMul
2022-01-28 15:43:17 +01:00
Léo Lam
2d352a8e0b
Havok: Implement quat and vector normalisation
2022-01-28 15:43:17 +01:00
Léo Lam
469681f9b1
Havok: Add hkVector4f sign utils
2022-01-28 15:43:16 +01:00
Léo Lam
55eb07087c
Havok: Add hkSimdFloat32 comparisons
2022-01-28 15:43:16 +01:00
Léo Lam
a85b90ec26
Merge pull request #78 from 1byte2bytes/master
...
Update README.md to include xdelta
2022-01-28 01:53:21 +01:00
Anne
e3ce9ec089
Update README.md to include xdelta
2022-01-27 16:50:29 -08:00
Léo Lam
c6193592d8
Havok: Add hkSimdFloat32 sqrt/sqrtInverse
2022-01-27 18:52:40 +01:00
Léo Lam
e1f3e551cb
ksys/phys: Add more RigidBody functions
2022-01-27 01:54:56 +01:00
Léo Lam
e4f1a053cd
Havok: Add missing calls to hkpRigidBody functions
2022-01-27 01:21:31 +01:00
Léo Lam
fa7df32d5a
Merge pull request #76 from iTNTPiston/master
...
Add SystemTimers and BaseProcMgr to data_symbols
2022-01-26 10:17:05 +01:00
Léo Lam
62c0441d4c
Merge pull request #77 from leoetlino/docs-indent-items
...
docs: Indent header items
2022-01-26 10:16:52 +01:00
Léo Lam
0d596b2d8a
docs: Indent header items
...
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
2022-01-26 00:10:51 +01:00
Léo Lam
00583c3877
Fix Doxygen path stripping
2022-01-25 23:08:19 +01:00
Léo Lam
29a7b8f349
Add Doxygen and m.css config file
2022-01-25 22:33:13 +01:00
iTNTPiston
da63d713b2
update data_symbols
2022-01-25 12:47:35 -08:00
Léo Lam
b728917ef4
ksys/phys: Add RigidBody collision filter info functions
...
Including a bunch of BitFields additions so we can get the desired
codegen without sacrificing readability or flexibility.
(The alternative would be building masks and masking manually.)
getCollisionFilterInfo was changed to return a u32 instead of
EntityCollisionFilterInfo because a collision filter info mask
can be either an EntityCollisionFilterInfo or a ReceiverMask.
(Also at some point we'll probably want to rename
EntityCollisionFilterInfo because that is also used for sensor
rigid bodies and not just for entities.)
2022-01-25 00:15:29 +01:00
Léo Lam
4531c033a3
ksys/phys: Rename SystemGroupHandler mFilterIndex -> mLayerType
...
It is actually a ContactLayerType -- there's a comparison against
the contact layer type in RigidBody.
2022-01-24 12:38:05 +01:00