mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-12-07 03:46:34 +01:00
initial import, >900commits predate this
This commit is contained in:
16
framework/common_components/src/mm/components/velocity2d.hpp
Normal file
16
framework/common_components/src/mm/components/velocity2d.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by FlaXxy on 29.07.2018.
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include <glm/vec2.hpp>
|
||||
|
||||
namespace MM::Components {
|
||||
|
||||
struct Velocity2D {
|
||||
glm::vec2 velocity;
|
||||
float rotation {0.f};
|
||||
};
|
||||
|
||||
} // MM::Components
|
||||
|
||||
Reference in New Issue
Block a user