blob: 96b8673a427570f6c8c3ffbdccc7bc1cb898fbe5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef COMPONENTS_VELOCITY_HPP
#define COMPONENTS_VELOCITY_HPP
#include "vec2.hpp"
struct Velocity : public Vec2 {
constexpr Velocity() = default;
constexpr Velocity(float x_, float y_): Vec2(x_, y_) {}
Velocity(std::tuple<float, float> tup): Vec2(tup) {}
};
#endif // COMPONENTS_VELOCITY_HPP
|