getRotation method

Matrix3 getRotation ()

Returns the rotation matrix from this homogeneous transformation matrix.

Implementation

Matrix3 getRotation() {
  final Matrix3 r = new Matrix3.zero();
  copyRotation(r);
  return r;
}