RotationComponent returns the current rotation component of m in degrees. This assumes uniform scaling.
()
| 250 | // RotationComponent returns the current rotation component of m in degrees. |
| 251 | // This assumes uniform scaling. |
| 252 | func (m *Matrix) RotationComponent() float32 { |
| 253 | return m.RotationComponentRad() * RadToDeg |
| 254 | } |
| 255 | |
| 256 | // RotationComponentRad returns the current rotation component of m in radians. |
| 257 | // This assumes uniform scaling. |