mirror of
https://github.com/zeldaret/botw
synced 2026-06-06 03:28:44 -04:00
Havok: Add a convenience function to get a zero hkVector4f
This commit is contained in:
@@ -152,6 +152,12 @@ public:
|
||||
template <int Constant>
|
||||
HK_FORCE_INLINE static const hkVector4f& getConstant();
|
||||
|
||||
HK_FORCE_INLINE static hkVector4f zero() {
|
||||
hkVector4f u;
|
||||
u.setZero();
|
||||
return u;
|
||||
}
|
||||
|
||||
/// Store N floats to out.
|
||||
template <int N>
|
||||
void store(hkFloat32* out) const;
|
||||
|
||||
Reference in New Issue
Block a user