Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ setUp
Method
setUp
src/main/java/trace/graphics/SimpleCamera.kt:41–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
fun setUp(v: Vec3) {
42
camera.advanceState {
43
val s = it.copy()
44
s.up %= v
45
s
46
}
47
updateState()
48
}
49
50
fun getState(): Camera.State {
51
return camera.state.copy()
Callers
nothing calls this directly
Calls
2
advanceState
Method · 0.80
copy
Method · 0.45
Tested by
no test coverage detected