Implement SkelVec3::IsUnit

This commit is contained in:
smallmodel 2024-09-18 00:18:08 +02:00
parent f4c8b0c21f
commit 0597191319
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -117,8 +117,7 @@ inline bool SkelVec3::IsZero() const
inline bool SkelVec3::IsUnit() const
{
// FIXME: stub
return false;
return VectorLength(*this) == 1;
}
inline void SkelVec3::set(float x, float y, float z)