From fb4b5d2a5588b69291656872f912eb022b7a03a2 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 5 May 2013 01:00:20 -0500 Subject: Fix inadvertent renaming and typos. --- qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtruby/rubylib') 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] -- cgit v1.2.1