¡@

Home 

2014/10/15 ¤U¤È 10:16:04

iphone Programming Glossary: xroll

Using quaternion instead of roll, pitch and yaw to track device motion

http://stackoverflow.com/questions/19239482/using-quaternion-instead-of-roll-pitch-and-yaw-to-track-device-motion

self.startTimerButton.hidden NO if timerRunning YES if checkingGyroOrientation YES self.takePicButton.hidden YES int xRoll yPitch xYaw yYaw Roll Checking if tempRoll self.deviceStatus doubleForKey @ DeviceRoll 1 tempRoll self.deviceStatus doubleForKey.. YES self.rollToR.hidden NO self.rollToL.hidden NO if tempRoll self.deviceStatus doubleForKey @ DeviceRoll 0 xRoll 150 tempRoll self.deviceStatus doubleForKey @ DeviceRoll self.rollToR.hidden YES if xRoll 0 self.rollToL setFrame CGRectMake.. @ DeviceRoll 0 xRoll 150 tempRoll self.deviceStatus doubleForKey @ DeviceRoll self.rollToR.hidden YES if xRoll 0 self.rollToL setFrame CGRectMake 0 195 20 20 else if xRoll 300 self.rollToL setFrame CGRectMake 300 195 20 20 else..