forked from mirrors/0ad
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