MCPcopy Index your code
hub / github.com/EngoEngine/engo / RotationComponent

Method RotationComponent

math.go:252–254  ·  view source on GitHub ↗

RotationComponent returns the current rotation component of m in degrees. This assumes uniform scaling.

()

Source from the content-addressed store, hash-verified

250// RotationComponent returns the current rotation component of m in degrees.
251// This assumes uniform scaling.
252func (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.

Callers 1

Calls 1

RotationComponentRadMethod · 0.95

Tested by 1