Patent ID: 7466304

Claim:
A storage medium having stored thereon an image processing program for causing a computer of an image processing apparatus, including a display device for displaying, on a screen, an operation target object in a virtual space and a pointing device for designating a position on the screen, to execute: an input coordinate value detection step of detecting an input coordinate value indicating a position on the screen designated by the pointing device every predetermined time unit; a direction calculation step of, where a first input coordinate value has been detected in the input coordinate value detection step, determining whether or not there is a second input coordinate value which was detected discretely from, and before, the first input coordinate value, and when there is the second input coordinate value, calculating a changing direction based on the first input coordinate value and the second input coordinate value; and a rotation step of rotating the operation target object in a rotation direction in accordance with the changing direction calculated in the direction calculation step.