#include <object.h>
Inheritance diagram for Object:

Public Member Functions | |
| v3f | getPos () |
| RBase | getR () |
| v3f | dir () |
| Object direction (equals r.y). | |
| v3f | dup () |
| Object "direction up" (equals r.z). | |
| void | setDir (v3f v) |
| void | setDup (v3f v) |
| bool | isEnabled () |
| virtual void | enable (bool s) |
| virtual void | draw (DrawHint hint) |
| Draw interface. This method should be overridden to draw the object. | |
| Object () | |
| virtual | ~Object () |
Protected Attributes | |
| bool | enabled |
| v3f | pos |
| Object position. | |
| RBase | r |
| Object orientation. | |
| double | boundSphereRadius |
Defines object position and orientation within the scene. Object also defines the interface for making an object visible within the scene through the draw() method.
|
|
|
|
|
|
|
|
Object direction (equals r.y).
|
|
|
Draw interface. This method should be overridden to draw the object.
|
|
|
Object "direction up" (equals r.z).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object position.
|
|
|
Object orientation.
|
1.3.2