mirror of https://github.com/zeldaret/botw.git
Havok: Silence hkHalf copy constructor warning
This commit is contained in:
parent
359fb2685b
commit
d696cfa65d
|
@ -39,6 +39,8 @@ public:
|
|||
m_value = hkInt16(t >> 16);
|
||||
}
|
||||
|
||||
hkHalf(const hkHalf&) = default;
|
||||
|
||||
hkHalf& operator=(const float& f) {
|
||||
int t = ((const int*)&f)[0];
|
||||
m_value = hkInt16(t >> 16);
|
||||
|
|
Loading…
Reference in New Issue