mirror of
https://github.com/zeldaret/botw
synced 2026-06-04 18:58:37 -04:00
Havok: Silence hkHalf copy constructor warning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user