From: Pontus L. <po...@ly...> - 2000-02-22 13:29:36
|
Hello, I have a question about the glColor3{ub,us,ui} methods in GL4Java: The arguments to these methods are still signed quantites. The methods seem to rely on the Java compiler representing the typecast (byte)255 value with the unsigned byte value 255. Does the language specification guarantee this? In particular, it seems impossible to get glColor3ui method to produce the same result as glColor3f(1.0,0.0,0.0). Maybe this should be considered a bug? Regards, Pontus -- Pontus Lidman, po...@ma..., Software Engineer No matter how cynical you get, it's impossible to keep up. Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org |