HyperspaceExplorer 0.7.1
|
"transform <rotation>" More...
#include <Statement.h>
Public Member Functions | |
XformStmt (const Parser *p, const std::string &_arg) | |
virtual bool | execute () |
Executes the statement in the current context. | |
Protected Member Functions | |
VecMath::Rotation< 4 > & | r () |
Private Attributes | |
VecMath::Rotation< 4 > | _r |
The rotation state of the object. |
"transform <rotation>"
sets the transform of the current object
Script::XformStmt::XformStmt | ( | const Parser * | p, |
const std::string & | _arg | ||
) |
p | The context in which the Statement is executed |
_arg | The argument supplied to the Statement |
References _r, and Script::Statement::arg().
VecMath::Rotation<4>& Script::XformStmt::r | ( | ) | [inline, protected] |
References _r.
Referenced by Script::DeltaStmt::execute(), and execute().