glutWarpPointer

glutWarpPointer warps the pointer's location.

Signature

glutWarpPointer( int( x ) , int( y ) )-> void
glutWarpPointer( x , y )
glutWarpPointer( c_int(x), c_int(y) ) -> None

Parameters

VariablesDescription
x
X offset relative to the current window's origin (upper left).
y
Y offset relative to the current window's origin (upper left).

See Also

glutMouseFunc glutMotionFunc