mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
mElite
GraphicsObject.cpp
Go to the documentation of this file.
1
6
#pragma once
7
8
#include "
GraphicsObject.h
"
9
11
14
GraphicsObject::GraphicsObject
(
void
) :
GameObject
() {
15
m_radius = 0;
16
}
17
19
23
GraphicsObject::GraphicsObject
( GLfloat r ) :
GameObject
() {
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
55
GraphicsObject::~GraphicsObject
(
void
) {
56
57
}
58
62
float
GraphicsObject::getCollisionRadius
(
void
) {
63
return
m_radius;
64
}
65
73
float
GraphicsObject::getRadius
(
void
) {
74
return
m_radius;
75
}
Generated on Tue Oct 2 2012 14:38:37 for mElite by
1.8.2