mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 14:06:32 +00:00
Minor changes
This commit is contained in:
@@ -24,11 +24,6 @@ public:
|
||||
return Quaternion(cos2, a * sinNorm, b * sinNorm, c * sinNorm);
|
||||
}
|
||||
|
||||
static Quaternion fromAngularRates(float x, float y, float z)
|
||||
{
|
||||
return Quaternion::fromAxisAngle(x, y, z, sqrt(x * x + y * y + z * z));
|
||||
}
|
||||
|
||||
static Quaternion fromAngularRates(const Vector& rates)
|
||||
{
|
||||
if (rates.zero()) {
|
||||
|
||||
Reference in New Issue
Block a user