coeng
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef COMP_H_ |
nuclear@0 | 2 #define COMP_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <vmath/vmath.h> |
nuclear@0 | 5 |
nuclear@0 | 6 class Component { |
nuclear@0 | 7 public: |
nuclear@0 | 8 Component() {} |
nuclear@0 | 9 virtual ~Component() {} |
nuclear@0 | 10 }; |
nuclear@0 | 11 |
nuclear@0 | 12 class CompPRS : public Component { |
nuclear@0 | 13 public: |
nuclear@0 | 14 Vector3 pos, scale; |
nuclear@0 | 15 Quaternion rot; |
nuclear@0 | 16 }; |
nuclear@0 | 17 |
nuclear@0 | 18 #endif // COMP_H_ |