Files
raylib-cpp/include/raylib/Vector4.hpp
Rob Loach b85a050a70 Add tests
2019-01-22 23:17:28 -05:00

25 lines
399 B
C++

#ifndef RAYLIB_CPP_VECTOR4_HPP_
#define RAYLIB_CPP_VECTOR4_HPP_
#include "raylib.h"
#include "utils.hpp"
namespace raylib {
class Vector4 : public ::Vector4 {
public:
Vector4(float X = 0, float Y = 0, float Z = 0, float W = 0) {
x = X;
y = Y;
z = Z;
w = W;
};
GETTERSETTER(float,X,x)
GETTERSETTER(float,Y,y)
GETTERSETTER(float,Z,z)
GETTERSETTER(float,W,w)
};
}
#endif