mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix Endian functions names in hsTypes and hsStream.
Function and macro names for endianness were previously vague, and on big-endian systems entirely misleading. The names are now properly descriptive of what they actually do.
This commit is contained in:
@ -426,7 +426,7 @@ void hsAffineParts::Read(hsStream *stream)
|
||||
fQ.Read(stream);
|
||||
fU.Read(stream);
|
||||
fK.Read(stream);
|
||||
fF = stream->ReadSwapFloat();
|
||||
fF = stream->ReadLEFloat();
|
||||
}
|
||||
|
||||
//
|
||||
@ -438,5 +438,5 @@ void hsAffineParts::Write(hsStream *stream)
|
||||
fQ.Write(stream);
|
||||
fU.Write(stream);
|
||||
fK.Write(stream);
|
||||
stream->WriteSwapFloat(fF);
|
||||
stream->WriteLEFloat(fF);
|
||||
}
|
||||
|
Reference in New Issue
Block a user