(float r)
| 211 | return s; |
| 212 | } |
| 213 | |
| 214 | public State lookUp(float r) { |
| 215 | State s = copy(); |
| 216 | Quat q = new Quat().fromAxisAngleRad(left(), r); |
| 217 | s.target = Vec3.add(position, q.transform(ray().mul(1)), new Vec3()); |
| 218 | s.up = q.transform(up); |
| 219 | return s; |
| 220 | } |
| 221 | |
| 222 |
no test coverage detected