MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / lookLeft

Method lookLeft

src/main/java/field/graphics/Camera.java:207–211  ·  view source on GitHub ↗
(float r)

Source from the content-addressed store, hash-verified

205 }
206
207
208 public State lookLeft(float r) {
209 State s = copy();
210 s.target = Vec3.add(position, new Quat().fromAxisAngleRad(up, r).transform(ray().mul(1)), new Vec3());
211 return s;
212 }
213
214 public State lookUp(float r) {

Callers 1

standardMapMethod · 0.45

Calls 6

copyMethod · 0.95
addMethod · 0.95
rayMethod · 0.95
fromAxisAngleRadMethod · 0.80
transformMethod · 0.65
mulMethod · 0.45

Tested by

no test coverage detected