mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 04:39:45 +00:00
Eliminate hsScalar and hsFixed
Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
@ -88,7 +88,7 @@ void plParticleAngleApplicator::IApply(const plAGModifier *mod, double time)
|
||||
{
|
||||
plScalarChannel *chan = plScalarChannel::ConvertNoRef(fChannel);
|
||||
IGetParticleGen(mod->GetTarget(0))->UpdateParam(plParticleUpdateMsg::kParamInitPitchRange,
|
||||
(hsScalar)(chan->Value(time) * PI / 180.f));
|
||||
(float)(chan->Value(time) * PI / 180.f));
|
||||
}
|
||||
|
||||
void plParticleVelMinApplicator::IApply(const plAGModifier *mod, double time)
|
||||
|
Reference in New Issue
Block a user