Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
abstractshape.h
1 #pragma once
2 
3 class Sphere;
4 template<typename T> class TAABB;
5 class Transform;
6 
7 class AbstractShape {
8 public:
9  virtual bool intersects(const Sphere& sphere) const = 0;
10  virtual bool nearTo(const TAABB<int>& aabb) const = 0;
11  virtual bool containedBy(const TAABB<int>& aabb) const = 0;
12 };
13 
Definition: transform.h:9
Definition: aabb.h:15
Definition: sphere.h:11
Definition: abstractshape.h:7