mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Eliminate hsScalar and hsFixed
Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
@ -212,9 +212,9 @@ void plSoundBuffer::IInitBuffer()
|
||||
|
||||
//// GetDataLengthInSecs /////////////////////////////////////////////////////
|
||||
|
||||
hsScalar plSoundBuffer::GetDataLengthInSecs( void ) const
|
||||
float plSoundBuffer::GetDataLengthInSecs( void ) const
|
||||
{
|
||||
return (hsScalar)fDataLength / (hsScalar)fHeader.fAvgBytesPerSec;
|
||||
return (float)fDataLength / (float)fHeader.fAvgBytesPerSec;
|
||||
}
|
||||
|
||||
//// Read/Write //////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user