Sphere Class Reference
#include <Sphere.h>
Inheritance diagram for Sphere:
# Public Types | |
| typedef const SphereSpec | SphereROMSpec |
# Public Member Functions | |
| void | constructor (Entity owner, const SphereSpec *sphereSpec) |
| override void | render (Vector3D relativePosition) |
| override bool | draw () |
| void | setRadius (fixed_t radius) |
| fixed_t | getRadius () |
# Protected Attributes | |
| PixelVector | position |
| Position at which to draw the wireframe. | |
| fixed_t | radius |
| Radius of the sphere. | |
| uint16 | scaledRadius |
| Used radius of the sphere's to draw it. | |
| bool | drawCenter |
| Flag to control the drawing of the sphere's center point. | |
# Additional Inherited Members | |
Private Types inherited from Wireframe | |
| typedef const WireframeSpec | WireframeROMSpec |
Private Member Functions inherited from Wireframe | |
| void | constructor (Entity owner, const WireframeSpec *wireframeSpec) |
| void | setDisplacement (Vector3D displacement) |
| bool | isVisible () |
| bool | prepareForRender (Vector3D *relativePosition, const Vector3D *cameraDirection) |
| virtual VirtualList | getVertices () |
# Detailed Description
# Member Typedef Documentation
# SphereROMSpec
| typedef const SphereSpec SphereROMSpec |
# Member Function Documentation
# constructor()
| void Sphere::constructor | ( | Entity | owner, |
| const SphereSpec * | sphereSpec ) |
# draw()
|
virtual |
# getRadius()
| fixed_t Sphere::getRadius | ( | ) |
# render()
|
virtual |
# setRadius()
| void Sphere::setRadius | ( | fixed_t | radius | ) |
# Member Data Documentation
# drawCenter
|
protected |
# position
|
protected |
# radius
# scaledRadius
|
protected |
The documentation for this class was generated from the following files:
Private Types inherited from