(float amount)
| 280 | return new Vec3(position.x + left.x * s, position.y + left.y * s, position.z + left.z * s); |
| 281 | } |
| 282 | |
| 283 | public State zoomIn(float amount) { |
| 284 | State s = copy(); |
| 285 | s.fov = Math.max(2, Math.min(179, s.fov + amount)); |
| 286 | return s; |
| 287 | } |
| 288 | |
| 289 | public State zoomOut(float amount) { |
no test coverage detected