MCPcopy 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

standardMapMethod · 0.45

Calls 4

copyMethod · 0.95
rayMethod · 0.95
transformMethod · 0.95
fromAxisAngleRadMethod · 0.80

Tested by

no test coverage detected