cloth

view src/object.h @ 2:2eac424f58b2

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 12 Feb 2013 00:23:40 +0200
parents
children 28a31079dcdf
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 struct Collision;
6 class Object {
7 public:
8 virtual ~Object() = default;
10 virtual bool collision(const Ray &ray, float rad, Collision *col) const = 0;
11 };
13 #endif // OBJECT_H_