Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ roll
Method
roll
src/main/java/field/graphics/Camera.java:199–204 ·
view source on GitHub ↗
(float r)
Source
from the content-addressed store, hash-verified
197
return
s;
198
}
199
200
public
State roll(float r) {
201
State s = copy();
202
Quat q =
new
Quat().fromAxisAngleRad(ray(), r);
203
s.up = q.transform(up);
204
return
s;
205
}
206
207
Callers
1
standardMap
Method · 0.45
Calls
4
copy
Method · 0.95
ray
Method · 0.95
transform
Method · 0.95
fromAxisAngleRad
Method · 0.80
Tested by
no test coverage detected