mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:40:20 +02:00
warning fix
This commit is contained in:
parent
551426f46e
commit
3710637254
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public:
|
||||||
float t2 = t * t;
|
float t2 = t * t;
|
||||||
float w0 = -6.0f * t + 6.0f * t2;
|
float w0 = -6.0f * t + 6.0f * t2;
|
||||||
float w1 = 1.0f - 4.0f * t + 3.0f * t2;
|
float w1 = 1.0f - 4.0f * t + 3.0f * t2;
|
||||||
float w2 = 6.0 * t - 6.0f * t2;
|
float w2 = 6.0f * t - 6.0f * t2;
|
||||||
float w3 = -2.0f * t + 3.0f * t2;
|
float w3 = -2.0f * t + 3.0f * t2;
|
||||||
return w0 * _p0 + w1 * _m0 + w2 * _p1 + w3 * _m1;
|
return w0 * _p0 + w1 * _m0 + w2 * _p1 + w3 * _m1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue