Searched refs:invScale (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 149 float scale, invScale; in rsQuaternionSlerp() local 155 invScale = sin(theta * t) * invSinTheta; in rsQuaternionSlerp() 158 invScale = t; in rsQuaternionSlerp() 163 invScale = sin(M_PI * t); in rsQuaternionSlerp() 166 rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale, in rsQuaternionSlerp() 167 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale); in rsQuaternionSlerp()
|
/frameworks/rs/script_api/include/ |
D | rs_quaternion.rsh | 292 float scale, invScale; 298 invScale = sin(theta * t) * invSinTheta; 301 invScale = t; 306 invScale = sin(M_PI * t); 309 rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale, 310 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale);
|