Login  Register

Re: What is the maximum value for Y which can be passed to gluOrtho2D?

Posted by Sven Gothel on Sep 09, 2019; 6:56am
URL: https://forum.jogamp.org/What-is-the-maximum-value-for-Y-which-can-be-passed-to-gluOrtho2D-tp4040055p4040056.html

On 9/9/19 8:48 AM, cristian [via jogamp] wrote:
> I have somewhere in the code something like this:
> *GLU.gluOrtho2D(-1, 1, 0, Double.MAX_VALUE)*
> and after that i draw some lines which has a bound on Double.MAX_VALUE.
> The problem is the lines are not visible.
>

Just from memories w/o checking, it is possible we use a float based
implementation.

~Sven