/[gzz]/gzz/gfx/libpaper/colors.py
ViewVC logotype

Diff of /gzz/gfx/libpaper/colors.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Wed Sep 4 07:37:10 2002 UTC revision 1.3 by jvk, Fri Sep 6 12:35:01 2002 UTC
# Line 30  class Colors: Line 30  class Colors:
30          return self.colors[ind%len(self.colors)]          return self.colors[ind%len(self.colors)]
31    
32      def _randvec2(self):      def _randvec2(self):
33          x = 2 * self.rnd.nextDouble() - 1          #x = 2 * self.rnd.nextDouble() - 1
34          y = 2 * self.rnd.nextDouble() - 1          #y = 2 * self.rnd.nextDouble() - 1
35          z = 2 * self.rnd.nextDouble() - 1          #z = 2 * self.rnd.nextDouble() - 1
36            x = self.rnd.nextDouble()
37            y = self.rnd.nextDouble()
38            z = self.rnd.nextDouble()
39          return [x, y, z]          return [x, y, z]
40    
41      def getNVDP3VecStr(self, ind):      def getNVDP3VecStr(self, ind):

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26