Exemple #1
0
void SimObject::rotateAroundAxisDnD(double angle, Vector3d axis)
{
  Matrix3d m;
  axis.normalize();
  m.setRotationAroundAxis(axis, angle);
  rotateDnD(m, position);
}