diff options
Diffstat (limited to 'qtruby/rubylib/examples')
-rw-r--r-- | qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb b/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb index ba50f364..931167b0 100644 --- a/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb +++ b/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb @@ -32,7 +32,7 @@ class Graphics # Defines counter-clockwise points used in OpenGL TRIANGLE_STRIP to # create a circle on the X/Z plane. Don't include center point here; # It is added when outputting the circle. - STQUARE = [ + SQUARE = [ XPLUS, ZMINUS, XMINUS, ZPLUS, XPLUS ] @@ -225,7 +225,7 @@ class Graphics def Graphics.circle(iterations = DEFAULT_SPHERE_ITERATIONS, counterClockwise = true) if @@circles[iterations].nil? - @@circles[iterations] = buildCircle(iterations, STQUARE) + @@circles[iterations] = buildCircle(iterations, SQUARE) end circle = @@circles[iterations] |