rotateSinCos method
Updates the value of this transformation to that of a rotation around the origin composed with the current value, with the sin and cos of the rotation angle specified directly.
@param sinTheta the sine of the angle to rotate by @param cosTheta the cosine of the angle to rotate by @return this transformation, with an updated matrix
Implementation
AffineTransformation rotateSinCos(double sinTheta, double cosTheta) {
compose(rotationInstanceSinCos(sinTheta, cosTheta));
return this;
}