|
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.
Do you know what is the maximum Y which can be passed to GLU.gluOrtho2D?
If instead of Double.MAX_VALUE i'm using Integer.MAX_VALUE or Math.pow(10, 38) then everything it's fine.
I searched on the internet but i didn't find. I checked also Microsoft docs, about the native method glOrtho and i didn't find any limit.
|