fun rotationMatrix(degrees: Float, px: Float = 0.0f, py: Float = 0.0f): Matrix
Creates a rotation matrix, defined by a rotation angle in degrees around the pivot point located at the coordinates (px, py).