# File ../lib/fox/glshapes.rb, line 443 def initialize(*args) if args.length == 5 super(args[0], args[1], args[2], SHADING_SMOOTH|STYLE_SURFACE) elsif args.length == 6 super(args[0], args[1], args[2], SHADING_SMOOTH|STYLE_SURFACE, args[5], args[5]) end @height = args[3] ? args[3] : 1.0 @radius = args[4] ? args[4] : 1.0 @slices = SLICES_NUMBER @stacks = STACKS_NUMBER @loops = LOOPS setRange(FXRange.new(-@radius, @radius, 0, @height, -@radius, @radius)) end