Method: Processing::GraphicsContext#rotateY

Defined in:
lib/processing/graphics_context.rb

#rotateY(angle) ⇒ nil

Applies rotation around the y-axis.

Parameters:

  • angle (Numeric)

    angle for rotation

Returns:

  • (nil)

    nil

See Also:



2232
2233
2234
2235
2236
# File 'lib/processing/graphics_context.rb', line 2232

def rotateY(angle)
  assertDrawing__
  @painter__.rotate toDegrees__(angle), 0, 1, 0
  nil
end