mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2025-06-09 11:03:08 -04:00
multiple inclide protection
This commit is contained in:
parent
21e373d1ec
commit
7de795a48f
@ -1,5 +1,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifndef COLOR
|
||||||
|
#define COLOR
|
||||||
|
|
||||||
#ifndef RED
|
#ifndef RED
|
||||||
#define RED 255,0,0,255
|
#define RED 255,0,0,255
|
||||||
#endif
|
#endif
|
||||||
@ -27,3 +30,4 @@ class Color {
|
|||||||
Color();
|
Color();
|
||||||
Color(uint8_t r,uint8_t g,uint8_t b,uint8_t a);
|
Color(uint8_t r,uint8_t g,uint8_t b,uint8_t a);
|
||||||
};
|
};
|
||||||
|
#endif
|
@ -1,6 +1,9 @@
|
|||||||
|
#ifndef VECTOR
|
||||||
|
#define VECTOR
|
||||||
class Vector {
|
class Vector {
|
||||||
public:
|
public:
|
||||||
float x,y;
|
float x,y;
|
||||||
Vector();
|
Vector();
|
||||||
Vector(float x, float y);
|
Vector(float x, float y);
|
||||||
};
|
};
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user