rayzor

view src/object.h @ 11:fe94d9e986ae

optimized 16bpp swap_buffers
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Apr 2014 08:42:33 +0300
parents a826bf0fb169
children d94a69933a71
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 : public Object {
13 public:
14 Sphere();
15 ~Sphere();
17 void draw() const;
18 };
20 #endif // OBJECT_H_