mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
20 lines
300 B
C++
20 lines
300 B
C++
#ifndef RAYLIB_CPP_VECTOR2_HPP_
|
|
#define RAYLIB_CPP_VECTOR2_HPP_
|
|
|
|
#include "raylib.h"
|
|
#include "utils.hpp"
|
|
|
|
namespace raylib {
|
|
class Vector2 : public ::Vector2 {
|
|
public:
|
|
Vector2(float X = 0, float Y = 0) {
|
|
x = X;
|
|
y = Y;
|
|
};
|
|
|
|
GETTERSETTER(float,X,x)
|
|
GETTERSETTER(float,Y,y)
|
|
};
|
|
}
|
|
|
|
#endif |