coeng
diff src/comp.h @ 0:14e743b53289
component system test
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 04 Feb 2015 17:23:35 +0200 |
parents | |
children | b0d8d454c546 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/comp.h Wed Feb 04 17:23:35 2015 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +#ifndef COMP_H_ 1.5 +#define COMP_H_ 1.6 + 1.7 +#include <vmath/vmath.h> 1.8 + 1.9 +class Component { 1.10 +public: 1.11 + Component() {} 1.12 + virtual ~Component() {} 1.13 +}; 1.14 + 1.15 +class CompPRS : public Component { 1.16 +public: 1.17 + Vector3 pos, scale; 1.18 + Quaternion rot; 1.19 +}; 1.20 + 1.21 +#endif // COMP_H_