#
# NEED_PARMS axis count
#
# HELP: SYNOPSIS:
# HELP:     register/mouse/advance
# HELP:
# HELP: DESCRIPTION:
# HELP:     Advance cursor position by count along a given axis.
#
{ IFX ${ $argv[1] == "x" }
	CPOS ${$root.view[current].pos.x+(double)$argv[2]} ${$root.view[current].pos.y} ${$root.view[current].pos.z}
} IFX 0 0
{ IFY ${ $argv[1] == "y" }
	CPOS ${$root.view[current].pos.x} ${$root.view[current].pos.y+(double)$argv[2]} ${$root.view[current].pos.z}
} IFY 0 0
{ IFZ ${ $argv[1] == "z" }
	CPOS ${$root.view[current].pos.x} ${$root.view[current].pos.y} ${$root.view[current].pos.z+(double)$argv[2]}
} IFZ 0 0
