Method: MiniGL::Mouse.x

Defined in:
lib/minigl/global.rb

.xObject (readonly)

The current x-coordinate of the mouse cursor in the screen.



390
391
392
# File 'lib/minigl/global.rb', line 390

def x
  @x
end