rayzor

annotate 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
rev   line source
nuclear@0 1 #ifndef OBJECT_H_
nuclear@0 2 #define OBJECT_H_
nuclear@0 3
nuclear@0 4 class Object {
nuclear@0 5 public:
nuclear@0 6 Object();
nuclear@0 7 virtual ~Object();
nuclear@0 8
nuclear@0 9 virtual void draw() const = 0;
nuclear@0 10 };
nuclear@0 11
nuclear@0 12 class Sphere {
nuclear@0 13 public:
nuclear@0 14 Sphere();
nuclear@0 15 ~Sphere();
nuclear@0 16
nuclear@0 17 void draw() const;
nuclear@0 18 };
nuclear@0 19
nuclear@0 20 #endif // OBJECT_H_