1
0

Added VarInt64, normalized cPacketizer datatype names.

This commit is contained in:
Mattes D
2015-03-22 23:09:23 +01:00
parent c626848393
commit b913c5da69
8 changed files with 748 additions and 692 deletions

View File

@@ -64,7 +64,7 @@ cPacketizer::~cPacketizer()
void cPacketizer::WriteByteAngle(double a_Angle)
{
WriteChar(static_cast<char>(255 * a_Angle / 360));
WriteBEInt8(static_cast<Int8>(255 * a_Angle / 360));
}
@@ -73,8 +73,7 @@ void cPacketizer::WriteByteAngle(double a_Angle)
void cPacketizer::WriteFPInt(double a_Value)
{
Int32 Value = static_cast<Int32>(a_Value * 32);
WriteInt(Value);
WriteBEInt32(static_cast<Int32>(a_Value * 32));
}