Rotate rorates m counter-clockwise by deg degrees.
(deg float32)
| 261 | |
| 262 | // Rotate rorates m counter-clockwise by deg degrees. |
| 263 | func (m *Matrix) Rotate(deg float32) *Matrix { |
| 264 | return m.RotateRad(deg * DegToRad) |
| 265 | } |
| 266 | |
| 267 | // RotateRad rotates m counter-clockwise by rad radians. |
| 268 | func (m *Matrix) RotateRad(rad float32) *Matrix { |