Garage working, ready for vehicle swap implementation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef Components_Rotate_h__
|
||||
#define Components_Rotate_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Rotate : Component
|
||||
{
|
||||
float Time;
|
||||
glm::quat StartRotation;
|
||||
glm::quat GoalRotation;
|
||||
virtual Rotate* Clone() const override { return new Rotate(*this); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Components_Rotate_h__
|
||||
Reference in New Issue
Block a user