mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-09 12:08:17 +03:00
23 lines
401 B
C++
23 lines
401 B
C++
#pragma once
|
|
|
|
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;
|
|
|
|
void StoreInPHDPos(PHD_3DPOS& pos) const;
|
|
|
|
static void Register(sol::state*);
|
|
};
|