Closed httpdigest closed 7 years ago
Since version 1.8.0 (released on June 3, 2016) JOML's Matrix4f class can unproject from window coordinates via unprojectRay() and unprojectInvRay(). The MouseBoxSelectionDetector.selectGameItem() can be simplified then.
unprojectRay()
unprojectInvRay()
MouseBoxSelectionDetector.selectGameItem()
I can mention that in the book, but maybe it's a good idea to see how the process is done.
Since version 1.8.0 (released on June 3, 2016) JOML's Matrix4f class can unproject from window coordinates via
unprojectRay()
andunprojectInvRay()
. TheMouseBoxSelectionDetector.selectGameItem()
can be simplified then.