to View Coordinates Rotation
Creates the rotation required to convert from OpenGL coordinates to Android view 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 amount of display rotation respect the camera sensor will be stored.
Creates the rotation required to convert from OpenGL coordinates to Android view 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 amount of display rotation respect the camera sensor will be stored.
Creates the rotation required to convert from OpenGL coordinates to Android view 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 amount of display rotation respect the camera sensor.
Parameters
Android context.
@param cameraId A camera id.
Creates the rotation required to convert from OpenGL coordinates to Android view 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 amount of display rotation respect the camera sensor.
Parameters
Android context.
Information about the camera.