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
@@ -80,7 +80,7 @@ void CBinarySerializer::PutNumber(const char* name, double value)
Put(name, (const u8*)&value, sizeof(double));
}
void CBinarySerializer::PutNumber(const char* name, CFixed_23_8 value)
void CBinarySerializer::PutNumber(const char* name, fixed value)
{
PutNumber(name, value.GetInternalValue());
}