Claudette
 All Classes Namespaces Files Functions Enumerations Enumerator Friends Macros
sphere_collision_test.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "base_collision_test.h"
4 
5 namespace Claudette {
6 
10 {
11 public:
13 
14  const float* sphereCenter() const;
15  void setSphereCenter(float x, float y, float z);
16 
17  float sphereRadius() const;
18  void setSphereRadius(float radius);
19 
20 private:
21  float m_sphereCenter[3];
22  float m_sphereRadius;
23 };
24 
25 } // namespace Claudette
#define CLAUDETTE_LIB_EXPORT
Definition: global.h:21
Collision test with a sphere.
Base class for all collision tests.