Function Spatial.rotateObjectLocal

Rotates the local transformation around axis, a unit Vector3, by specified angle in radians. The rotation axis is in object-local coordinate system.

void rotateObjectLocal (
  const(Vector3) axis,
  const(double) angle
) nothrow @nogc;