from View Coordinates Rotation
Creates the rotation required to convert from Android view coordinates to OpenGL coordinates.
This rotation does not take into account the reversal of y coordinates performed when estimating a transformation, and only takes into account the current display and camera orientation.
Parameters
Android context.
A camera id.
instance where counter-clockwise rotation indicating the inverse of display rotation respect the camera sensor will be stored.
Creates the rotation required to convert from Android view coordinates to OpenGL coordinates.
This rotation does not take into account the reversal of y coordinates performed when estimating a transformation, and only takes into account the current display and camera orientation.
Parameters
Android context.
Information about the camera.
instance where counter-clockwise rotation indicating the inverse of display rotation respect the camera sensor will be stored.
Creates the rotation required to convert from Android view coordinates to OpenGL coordinates.
This rotation does not take into account the reversal of y coordinates performed when estimating a transformation, and only takes into account the current display and camera orientation.
Return
counter-clockwise rotation indicating the inverse of display rotation respect the camera sensor.
Parameters
Android context.
A camera id.
Creates the rotation required to convert from Android view coordinates to OpenGL coordinates.
This rotation does not take into account the reversal of y coordinates performed when estimating a transformation, and only takes into account the current display and camera orientation.
Return
counter-clockwise rotation indicating the inverse of display rotation respect the camera sensor.
Parameters
Android context.
Information about the camera.