You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
311 B
C++

#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