|
|
|
@ -57,6 +57,26 @@ struct Position
|
|
|
|
|
};
|
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
|
|
bool inline operator== (const Position& left, const Position& right) noexcept
|
|
|
|
|
{
|
|
|
|
|
return left.pos[0] == right.pos[0] &&
|
|
|
|
|
left.pos[1] == right.pos[1] &&
|
|
|
|
|
left.pos[2] == right.pos[2] &&
|
|
|
|
|
left.rot[0] == right.rot[0] &&
|
|
|
|
|
left.rot[1] == right.rot[1] &&
|
|
|
|
|
left.rot[2] == right.rot[2];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool inline operator!= (const Position& left, const Position& right) noexcept
|
|
|
|
|
{
|
|
|
|
|
return left.pos[0] != right.pos[0] ||
|
|
|
|
|
left.pos[1] != right.pos[1] ||
|
|
|
|
|
left.pos[2] != right.pos[2] ||
|
|
|
|
|
left.rot[0] != right.rot[0] ||
|
|
|
|
|
left.rot[1] != right.rot[1] ||
|
|
|
|
|
left.rot[2] != right.rot[2];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <int a, int b, int c, int d>
|
|
|
|
|
struct FourCC
|
|
|
|
|
{
|
|
|
|
|