//---------------------------------------- void ofNode::rollRad(float radians) { rotateRad(radians, getZAxis()); }
//---------------------------------------- void ofNode::panRad(float radians) { rotateRad(radians, getYAxis()); }
void Object3D::rotateDeg(const Vector3 &vrad) { rotateRad(Vector3::deg2rad(vrad)); }
//---------------------------------------- void ofNode::tiltRad(float radians) { rotateRad(radians, getXAxis()); }
void Physics::accelerate(double step, double limit) { cg::Vector2d velupdate = rotateRad(cg::Vector2d(0, step), _angle); if (!(length(_velocity + velupdate) > limit)) _velocity += velupdate; }