Hi,
I’m trying to use the function glOrtho to set up a window. I know (through reading the manual) that the arguments of this function are supposed to be ‘GLdouble’ values, but I can’t find out what this actually means in terms of coding. I need to input floating point numbers into the function, and I was wondering if there might be a way of converting them across into GLdoubles.
At the moment I’m just putting floating point numbers inside the brackets, and while this works for floating point numbers that are integers, as it were (that is to say 10.0000, 34.0000 etc), it doesn’t seem to work when I use un-rounded numbers.
I was wondering if anybody might be able to help me with this.