mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Implement SkelVec3::IsUnit
This commit is contained in:
parent
f4c8b0c21f
commit
0597191319
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue