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 Sven Gothel Sven Gothel
On Friday, September 17, 2010 11:10:18 gouessej [via jogamp] wrote:

>
> 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++;
>
>

Thx, fixed with: d1830d4ccd8c2db30896e987638228c45e251564

Pls send me a pull request next time :)

~Sven