rayzor

view src/object.h @ 4:18bdbcbaee81

forgot to add stl/vector.h
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 06 Apr 2014 01:12:50 +0300
parents 2a5340a6eee4
children a68dbf80d547
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_