mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:55:01 +02:00
try to fix linux build
This commit is contained in:
parent
ae0b9ea9a3
commit
6154aaddda
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ void ModelMeshPartPayload::initCache() {
|
|||
float ModelMeshPartPayload::calcFadeRatio() const {
|
||||
const float FADE_TIME = 0.5f;
|
||||
float t = std::min(((float)(usecTimestampNow() - _fadeStartTime)) / ((float)(FADE_TIME * USECS_PER_SECOND)), 1.0f);
|
||||
return -(cosf(M_PI_2*t) - 1.0f);
|
||||
return -(cosf((float)M_PI_2 * t) - 1.0f);
|
||||
}
|
||||
|
||||
void ModelMeshPartPayload::notifyLocationChanged() {
|
||||
|
|
Loading…
Reference in a new issue