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

Method Rotate

math.go:263–265  ·  view source on GitHub ↗

Rotate rorates m counter-clockwise by deg degrees.

(deg float32)

Source from the content-addressed store, hash-verified

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

Callers 7

TestMatrixRotateFunction · 0.80
PrepareCullingMethod · 0.80
makeModelMatrixMethod · 0.80
SetCameraMethod · 0.80
PrepareCullingMethod · 0.80
makeModelMatrixMethod · 0.80
SetCameraMethod · 0.80

Calls 1

RotateRadMethod · 0.95

Tested by 1

TestMatrixRotateFunction · 0.64