gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz-commits] gzz gzz/vob/vobs/SimpleConnection.java gzz/vob/...


From: Benja Fallenstein
Subject: Re: [Gzz-commits] gzz gzz/vob/vobs/SimpleConnection.java gzz/vob/...
Date: Mon, 25 Nov 2002 12:31:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1

Asko Soukka wrote:

-            line = GLRen.createLineConnector(1, 1);
+           if(color != null)
+               line = GLRen.createColoredLineConnector(1, 1,
+                                                       color.getRed()/255f,
+                                                       color.getGreen()/255f,
+                                                       color.getBlue()/255f,
+                                                       1);
+           else line = GLRen.createLineConnector(1, 1);

If LineConnector didn't work before, and you didn't change it (just added ColoredLineConnector), why do you still use LineConnector in some cases?
-b.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]