Method: Processing::Shape#rotateX
- Defined in:
- lib/processing/shape.rb
#rotateX(angle) ⇒ nil
Applies rotation around the x-axis to the shape.
524 525 526 527 |
# File 'lib/processing/shape.rb', line 524 def rotateX(angle) matrix__.rotate! @context.toDegrees__(angle), 1, 0, 0 nil end |