summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-05-05 01:00:20 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-05-05 01:00:20 -0500
commitfb4b5d2a5588b69291656872f912eb022b7a03a2 (patch)
tree14904a5729905ba598f37f7273fb4a62004d3024 /qtruby/rubylib
parent8aa20fb7fcfdfa8f57f1e76fb1bba346b65a1eb7 (diff)
downloadtdebindings-fb4b5d2a5588b69291656872f912eb022b7a03a2.tar.gz
tdebindings-fb4b5d2a5588b69291656872f912eb022b7a03a2.zip
Fix inadvertent renaming and typos.
Diffstat (limited to 'qtruby/rubylib')
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb4
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]