mirror of https://github.com/zeldaret/botw.git
Havok: Add a convenience function to get a zero hkVector4f
This commit is contained in:
parent
2ed36c7dc0
commit
c5b5954f92
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue