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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user