1
0
Fork 0

Add the ability to set the RPM from the outside.

This commit is contained in:
david 2003-10-18 20:07:06 +00:00
parent 5161029fc5
commit 202e79b4ad
2 changed files with 6 additions and 0 deletions

View file

@ -62,6 +62,11 @@ float PropEngine::getOmega()
return _omega;
}
void PropEngine::setOmega (float omega)
{
_omega = omega;
}
void PropEngine::getThrust(float* out)
{
int i;

View file

@ -36,6 +36,7 @@ public:
virtual void stabilize();
float getOmega();
void setOmega (float omega);
private:
float _moment;