Method: Processing::Shape#rotateY

Defined in:
lib/processing/shape.rb

#rotateY(angle) ⇒ nil

Applies rotation around the y-axis to the shape.

Parameters:

  • angle (Numeric)

    angle for rotation

Returns:

  • (nil)

    nil

See Also:



537
538
539
540
# File 'lib/processing/shape.rb', line 537

def rotateY(angle)
  matrix__.rotate! @context.toDegrees__(angle), 0, 1, 0
  nil
end