1
0
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:
Ykkrosh
2010-05-02 20:32:37 +00:00
parent ab45b4c787
commit f33706bf8b
48 changed files with 479 additions and 263 deletions
@@ -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";
}