TombEngine/TR5Main/Scripting/GameScriptRotation.h

26 lines
425 B
C
Raw Normal View History

#pragma once
#include "framework.h"
namespace sol {
class state;
}
struct PHD_3DPOS;
class GameScriptRotation {
public:
short x{ 0 };
short y{ 0 };
short z{ 0 };
GameScriptRotation() = default;
GameScriptRotation(int x, int y, int z);
GameScriptRotation(PHD_3DPOS const& pos);
std::string ToString() const;
2021-07-03 23:08:46 +01:00
void StoreInPHDPos(PHD_3DPOS& pos) const;
static void Register(sol::state*);
};