MCPcopy
hub / github.com/EngoEngine/engo / rotate

Method rotate

common/camera.go:253–255  ·  view source on GitHub ↗
(value float32)

Source from the content-addressed store, hash-verified

251}
252
253func (cam *CameraSystem) rotate(value float32) {
254 cam.rotateTo(cam.angle + value)
255}
256
257func (cam *CameraSystem) moveToX(location float32) {
258 cam.x = mgl32.Clamp(location*engo.GetGlobalScale().X, CameraBounds.Min.X*engo.GetGlobalScale().X, CameraBounds.Max.X*engo.GetGlobalScale().X)

Callers 1

moveAxisMethod · 0.95

Calls 1

rotateToMethod · 0.95

Tested by

no test coverage detected