Unproject the given window coordinates (winX, winY, winZ) by the given view and projection matrices using the specified viewport. This method first converts the given window coordinates to normalized device coordinates in the range [-1..1] and then tra
(double winX, double winY, double winZ, Mat4 projection, Mat4 view, IntBuffer viewport, Mat4 inverseOut, Vec4 dest)
| 393 | * @see #unprojectInv(double, double, double, IntBuffer, Vec4) |
| 394 | */ |
| 395 | public static void unproject(double winX, double winY, double winZ, Mat4 projection, Mat4 view, IntBuffer viewport, Mat4 inverseOut, Vec4 dest) { |
| 396 | inverseOut.set(projection) |
| 397 | .mul(view) |
| 398 | .invert() |
| 399 | .unprojectInv(winX, winY, winZ, viewport, dest); |
| 400 | } |
| 401 | |
| 402 | /** |
| 403 | * Unproject the given window coordinates <code>winCoords</code> by the given <code>view</code> and <code>projection</code> matrices using the specified viewport. |
no test coverage detected