mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GraphicsObject.cpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "GraphicsObject.h"
9 
11 
15  m_radius = 0;
16 }
17 
19 
24  m_radius = r;
25 
26 }
27 
29 
35 GraphicsObject::GraphicsObject( Vector3 position, float r ) : GameObject( position ) {
36  m_radius = r;
37 }
38 
40 
48 GraphicsObject::GraphicsObject( float x, float y, float z, float r ) : GameObject( x, y, z ) {
49  m_radius = r;
50 }
51 
56 
57 }
58 
63  return m_radius;
64 }
65 
74  return m_radius;
75 }