rayzor

view src/object.h @ 0:2a5340a6eee4

rayzor first commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 08:46:27 +0300
parents
children a826bf0fb169
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 class Object {
5 public:
6 Object();
7 virtual ~Object();
9 virtual void draw() const = 0;
10 };
12 class Sphere {
13 public:
14 Sphere();
15 ~Sphere();
17 void draw() const;
18 };
20 #endif // OBJECT_H_