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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user