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