Searched refs:Vec3 (Results 1 – 7 of 7) sorted by relevance
/development/ndk/sources/android/ndk_helper/ |
D | tapCamera.cpp | 56 vec_pinch_transform_factor_ = Vec3( 1.f, 1.f, 1.f ); in TapCamera() 72 vec_offset_ = Vec3(); in InitParameters() 73 vec_offset_now_ = Vec3(); in InitParameters() 81 vec_offset_delta_ = Vec3(); in InitParameters() 129 Vec3 vec = vec_offset_ + vec_offset_now_; in Update() 130 Vec3 vec_tmp( TRANSFORM_FACTOR, -TRANSFORM_FACTOR, TRANSFORM_FACTORZ ); in Update() 225 vec_offset_delta_ = Vec3(); in BeginPinch() 235 vec_offset_now_ = Vec3(); in EndPinch() 265 vec_offset_now_ = Vec3( vec, flip_z_ * f ); in Pinch() 288 Vec3 vec_from = PointOnSphere( vec_ball_down_ ); in BallUpdate() [all …]
|
D | tapCamera.h | 55 Vec3 vec_offset_; 56 Vec3 vec_offset_now_; 67 Vec3 vec_offset_last_; 68 Vec3 vec_offset_delta_; 77 Vec3 vec_pinch_transform_factor_; 79 Vec3 PointOnSphere( Vec2& point ); 105 vec_pinch_transform_factor_ = Vec3( x, y, z ); in SetPinchTransformFactor()
|
D | vecmath.h | 35 class Vec3; variable 50 friend class Vec3; 249 class Vec3 259 Vec3() in Vec3() function 264 Vec3( const float fX, const float fY, const float fZ ) in Vec3() function 271 Vec3( const Vec3& vec ) in Vec3() function 278 Vec3( const float* pVec ) in Vec3() function 285 Vec3( const Vec2& vec, float f ) in Vec3() function 292 Vec3( const Vec4& vec ); 295 Vec3 operator*( const Vec3& rhs ) const [all …]
|
D | vecmath.cpp | 28 Vec3::Vec3( const Vec4& vec ) in Vec3() function in ndk_helper::Vec3 294 Mat4 Mat4::Translation( const Vec3 vec ) in Translation() 342 Mat4 Mat4::LookAt( const Vec3& vec_eye, const Vec3& vec_at, const Vec3& vec_up ) in LookAt() 344 Vec3 vec_forward, vec_up_norm, vec_side; in LookAt()
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 134 mat_view_ = ndk_helper::Mat4::LookAt( ndk_helper::Vec3( CAM_X, CAM_Y, CAM_Z ), in Update() 135 ndk_helper::Vec3( 0.f, 0.f, 0.f ), ndk_helper::Vec3( 0.f, 1.f, 0.f ) ); in Update()
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 125 ndk_helper::Vec3( random() / float( RAND_MAX * 1.1 ), in Init() 257 mat_view_ = ndk_helper::Mat4::LookAt( ndk_helper::Vec3( CAM_X, CAM_Y, CAM_Z ), in Update() 258 ndk_helper::Vec3( 0.f, 0.f, 0.f ), ndk_helper::Vec3( 0.f, 1.f, 0.f ) ); in Update()
|
D | MoreTeapotsRenderer.h | 97 std::vector<ndk_helper::Vec3> vec_colors_;
|