Sha256: 3cb4f94e88224d04cda75cef4d621c3ab21dae723c7cd25e509d8a6f06be7c99

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 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)
  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_box.rb
ruby-processing-2.6.2 samples/processing_app/library/vecmath/arcball/arcball_box.rb
ruby-processing-2.6.1 samples/processing_app/library/vecmath/arcball/arcball_box.rb
ruby-processing-2.6.0 samples/processing_app/library/vecmath/arcball/arcball_box.rb
ruby-processing-2.5.1 samples/processing_app/library/vecmath/arcball/arcball_box.rb