主权项 |
1. An information processing apparatus for calculating a designated position on a predetermined plane based on an input provided to an input member, the information processing apparatus comprising:
a first position calculation section configured to calculate a first position using imaging information based on an image captured by a camera that is provided in the input member or a camera that captures the input member, the first position being a position on the plane and changing in accordance at least with an attitude of the input member; a second position calculation section configured to calculate a second position using a detection result of at least one of a gyro sensor, an acceleration sensor, and a magnetic sensor, the second position being a position on the plane on which the first position is calculated and according to the attitude of the input member; a determination section configured to repeatedly determine whether or not a predetermined condition is satisfied, the predetermined condition including a condition that a distance between the first position and the second position is equal to or smaller than a predetermined distance continuously for a predetermined period; and a designated position calculation section configured to, when the predetermined condition is not satisfied, calculate a designated position on the plane using the first position and without using the second position, and after the predetermined condition has been satisfied, calculate the designated position on the plane using the second position. |