Sha256: 52a1be59ebf618a4362937b4da186a5c1ec3c0b7c3af2ea3ae5668631c92c034

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

load_library :vecmath

############################
# Use mouse drag to rotate
# the arcball. Use mousewheel
# to zoom. Hold down x, y, z
# to constrain rotation axis.
############################

def setup
  size(600, 600, P3D)
  smooth(8)
  ArcBall.init(self, 300, 300, 250)
  fill 180
end

def draw
  background(50)  
  box(300, 300, 300)
end



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-processing-2.6.3 samples/processing_app/library/vecmath/arcball/arcball_radius.rb
ruby-processing-2.6.2 samples/processing_app/library/vecmath/arcball/arcball_radius.rb
ruby-processing-2.6.1 samples/processing_app/library/vecmath/arcball/arcball_radius.rb
ruby-processing-2.6.0 samples/processing_app/library/vecmath/arcball/arcball_radius.rb
ruby-processing-2.5.1 samples/processing_app/library/vecmath/arcball/arcball_radius.rb