Пример #1
0
bool Serializer::WriteQuaternion(const Quaternion& value)
{
    return Write(value.Data(), sizeof value) == sizeof value;
}
Пример #2
0
Quaternion Deserializer::ReadQuaternion()
{
    Quaternion ret;
    Read((void*)ret.Data(), sizeof ret);
    return ret;
}