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.
|
#ifndef COMPONENTS_POINT_HPP
|
|
#define COMPONENTS_POINT_HPP
|
|
|
|
#include "vec2.hpp"
|
|
|
|
struct Point : public Vec2 {
|
|
constexpr Point() = default;
|
|
constexpr Point(float x_, float y_): Vec2(x_, y_) {}
|
|
Point(std::tuple<float, float> tup): Vec2(tup) {}
|
|
};
|
|
|
|
#endif // COMPONENTS_POINT_HPP
|
|
|