The OGL gradient rendering code could leverage two methods added to AffineTransform in Mustang. Instead of at.rotate(atan2(y, x)) we can now simply call at.rotate(x, y). Also, instead of at=at.createInverse() we can use the in-place at.invert() method.
|