mirror of
https://github.com/zeldaret/botw
synced 2026-09-02 17:53:10 -04:00
ksys/phys: Finish RigidBodyMotion
This commit is contained in:
@@ -29,6 +29,7 @@ public:
|
||||
|
||||
HK_FORCE_INLINE void set(hkFloat32 x, hkFloat32 y, hkFloat32 z, hkFloat32 w = 0);
|
||||
HK_FORCE_INLINE void setAll(hkFloat32 x);
|
||||
HK_FORCE_INLINE void setZero();
|
||||
|
||||
// ========== Vector operations
|
||||
|
||||
|
||||
@@ -32,6 +32,10 @@ inline void hkVector4f::setAll(hkReal x) {
|
||||
v = {x, x, x, x};
|
||||
}
|
||||
|
||||
inline void hkVector4f::setZero() {
|
||||
setAll(0);
|
||||
}
|
||||
|
||||
inline void hkVector4f::add(hkVector4fParameter a) {
|
||||
setAdd(*this, a);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user