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

Method unprojectInv

src/main/java/field/linalg/Mat4.java:3225–3227  ·  view source on GitHub ↗

Unproject the given window coordinates winCoords by this matrix using the specified viewport. This method differs from #unproject(Vec3, IntBuffer, Mat4, Vec4) unproject() in that it assumes that this is already the inverse matrix of the original pro

(Vec3 winCoords, IntBuffer viewport, Vec4 dest)

Source from the content-addressed store, hash-verified

3223 * @see #unproject(Vec3, IntBuffer, Mat4, Vec4)
3224 */
3225 public Mat4 unprojectInv(Vec3 winCoords, IntBuffer viewport, Vec4 dest) {
3226 return unprojectInv(winCoords.x, winCoords.y, winCoords.z, viewport, dest);
3227 }
3228
3229 /**
3230 * Unproject the given window coordinates <tt>(winX, winY, winZ)</tt> by <code>this</code> matrix using the specified viewport.

Callers 1

unprojectMethod · 0.80

Calls 3

positionMethod · 0.65
getMethod · 0.65
divMethod · 0.45

Tested by

no test coverage detected