mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 13:32:05 +00:00
Switch everything to 15.16-bit precision fixeds, to allow more accurate unit vectors and angles.
This was SVN commit r7497.
This commit is contained in:
@@ -102,7 +102,7 @@ void CDebugSerializer::PutNumber(const char* name, double value)
|
||||
m_Stream << INDENT << name << ": " << canonfloat(value) << "\n";
|
||||
}
|
||||
|
||||
void CDebugSerializer::PutNumber(const char* name, CFixed_23_8 value)
|
||||
void CDebugSerializer::PutNumber(const char* name, fixed value)
|
||||
{
|
||||
m_Stream << INDENT << name << ": " << canonfloat(value.ToDouble()) << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user