Home
last modified time | relevance | path

Searched refs:x_diff (Results 1 – 1 of 1) sorted by relevance

/development/ndk/sources/android/ndk_helper/
DtapCamera.cpp213 float x_diff; in BeginPinch() local
215 vec.Value( x_diff, y_diff ); in BeginPinch()
217 pinch_start_distance_SQ_ = x_diff * x_diff + y_diff * y_diff; in BeginPinch()
218 camera_rotation_start_ = atan2f( y_diff, x_diff ); in BeginPinch()
250 float x_diff, y_diff; in Pinch() local
252 vec.Value( x_diff, y_diff ); in Pinch()
254 float fDistanceSQ = x_diff * x_diff + y_diff * y_diff; in Pinch()
273 float fRotation = atan2f( y_diff, x_diff ); in Pinch()