1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

Eliminate hsScalar and hsFixed

Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
2012-01-21 02:03:37 -05:00
parent 5027b5a4ac
commit e020651e4b
584 changed files with 5401 additions and 6399 deletions

View File

@ -45,7 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsStream.h"
void plFixedWaterState7::WaveState::Set(const plFixedWaterState7::WaveState& w, hsScalar secs)
void plFixedWaterState7::WaveState::Set(const plFixedWaterState7::WaveState& w, float secs)
{
fMaxLength.Set(w.fMaxLength, secs);
fMinLength.Set(w.fMinLength, secs);
@ -54,7 +54,7 @@ void plFixedWaterState7::WaveState::Set(const plFixedWaterState7::WaveState& w,
fAngleDev.Set(w.fAngleDev, secs);
}
void plFixedWaterState7::Set(const plFixedWaterState7& t, hsScalar secs)
void plFixedWaterState7::Set(const plFixedWaterState7& t, float secs)
{
fWindDir.Set(t.fWindDir, secs);