#include <command.h>
Inheritance diagram for CommandSetOrientation:


Public Member Functions | |
| CommandSetOrientation (const Vec3f &, float) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| float | angle |
| Vec3f | axis |
|
||||||||||||
|
Definition at line 433 of file command.cpp.
|
|
|
Implements InstantaneousCommand. Definition at line 438 of file command.cpp. References angle, axis, and Quaternion< T >::setAxisAngle(). 00439 {
00440 Quatf q(1);
00441 q.setAxisAngle(axis, angle);
00442 env.getSimulation()->setObserverOrientation(q);
00443 }
|
|
|
Definition at line 365 of file command.h. Referenced by process(). |
|
|
Definition at line 364 of file command.h. Referenced by process(). |
1.4.1