Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/EngoEngine/engo
/ rotateTo
Method
rotateTo
common/camera.go:269–271 ·
view source on GitHub ↗
(rotation float32)
Source
from the content-addressed store, hash-verified
267
}
268
269
func
(cam *CameraSystem) rotateTo(rotation float32) {
270
cam.angle = math.Mod(rotation, 360)
271
}
272
273
func
(cam *CameraSystem) centerCam(x, y, z float32) {
274
cam.moveToX(x)
Callers
3
Update
Method · 0.95
moveAxisTo
Method · 0.95
rotate
Method · 0.95
Calls
1
Mod
Function · 0.92
Tested by
no test coverage detected