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

Method copy

src/main/java/field/graphics/Camera.java:142–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 return new Vec3(target).fma(left, s);
141 }
142
143 public State copy() {
144 State s = new State();
145 s.io_disparity = this.io_disparity;
146 s.io_disparity_per_distance = this.io_disparity_per_distance;
147 s.io_frustra = this.io_frustra;
148 s.aspect = this.aspect;
149 s.far = this.far;
150 s.near = this.near;
151 s.fov = this.fov;
152 s.rx = this.rx;
153 s.ry = this.ry;
154 s.sx = this.sx;
155 s.sy = this.sy;
156 s.target = new Vec3(target);
157 s.position = new Vec3(position);
158 s.up = new Vec3(up);
159 return s;
160 }
161
162 @Override

Callers 14

orbitLeftMethod · 0.95
orbitUpMethod · 0.95
rollMethod · 0.95
lookLeftMethod · 0.95
lookUpMethod · 0.95
translateLeftMethod · 0.95
translateInMethod · 0.95
dollyInMethod · 0.95
translateUpMethod · 0.95
zoomInMethod · 0.95
zoomOutMethod · 0.95
interpolateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected