Game Development Reference
In-Depth Information
When you put the iPad in a Portrait mode, as per Figure 4-20, the X-axis will be
pointing to you.
Figure 4-20 . iPad in a Portrait mode
Negative acceleration is a counterclockwise rotation around the x-axis, as per
Figure 4-21.
Figure 4-21. Counterclockwise rotation
Positive acceleration is a clockwise rotation around the x-axis, as per
Figure 4-22.
Figure 4-22. Clockwise rotation
 
Search WWH ::




Custom Search