Matrix2d.rotation

Set this matrix to a rotation matrix which rotates the given radians about the origin. <p> The produced rotation will rotate a vector counter-clockwise around the origin. <p> The resulting matrix can be multiplied against another transformation matrix to obtain an additional rotation. <p> In order to post-multiply a rotation transformation directly to a matrix, use {@link #rotate(double) rotate()} instead.

@see #rotate(double)

@param angle the angle in radians @return this

struct Matrix2d
ref return
rotation
(
double angle
)

Meta