MCPcopy
hub / github.com/go-qml/qml / SetRotation

Method SetRotation

examples/gopher/gopher.go:58–61  ·  view source on GitHub ↗
(rotation int)

Source from the content-addressed store, hash-verified

56}
57
58func (r *Gopher) SetRotation(rotation int) {
59 r.Rotation = rotation
60 r.Call("update")
61}
62
63func (r *Gopher) Paint(p *qml.Painter) {
64 gl := GL.API(p)

Callers

nothing calls this directly

Calls 1

CallMethod · 0.65

Tested by

no test coverage detected