File Rotation.hpp
File List > Components > Rotation.hpp
Go to the documentation of this file
#ifndef ENGINE_COMPONENTS_ROTATION_HPP_
#define ENGINE_COMPONENTS_ROTATION_HPP_
namespace Engine {
struct Rotation {
float angle = 0.0f;
static Rotation Create(float angle = 0.0f) {
Rotation rot;
rot.angle = angle;
return rot;
}
};
} // namespace Engine
#endif // ENGINE_COMPONENTS_ROTATION_HPP_