Updated to Oculus PC SDK 1.6
This commit is contained in:
parent
af46222b12
commit
5139948ef9
1 changed files with 89 additions and 20 deletions
|
|
@ -1501,9 +1501,9 @@ public:
|
|||
if (len == 0)
|
||||
twist->w = T(1); // identity
|
||||
else
|
||||
twist /= len; // normalize
|
||||
*twist /= len; // normalize
|
||||
|
||||
return *this * twist.Inverted();
|
||||
return *this * twist->Inverted();
|
||||
}
|
||||
|
||||
// Normalized linear interpolation of quaternions
|
||||
|
|
|
|||
Loading…
Reference in a new issue