Reply – Re: bad use of depths in Picking.java
Your Name
Subject
Message
or Cancel
In Reply To
Re: bad use of depths in Picking.java
— by gouessej gouessej
Please find the patch below:
136,137c136,137
<           z1 = (float) buffer.get(offset) / 0x7fffffff; offset++;
<           z2 = (float) buffer.get(offset) / 0x7fffffff; offset++;
---
>           z1 = (float) (buffer.get(offset)& 0xffffffffL) / 0x7fffffff; offset++;
>           z2 = (float) (buffer.get(offset)& 0xffffffffL) / 0x7fffffff; offset++;
Julien Gouesse | Personal blog | Website