(float r)
| 189 | return s; |
| 190 | } |
| 191 | |
| 192 | public State orbitUp(float r) { |
| 193 | State s = copy(); |
| 194 | Quat q = new Quat().fromAxisAngleRad(left(), r); |
| 195 | s.position = Vec3.add(target, q.transform(ray().mul(-1)), new Vec3()); |
| 196 | s.up = q.transform(up); |
| 197 | return s; |
| 198 | } |
| 199 | |
| 200 | public State roll(float r) { |
no test coverage detected