Home
last modified time | relevance | path

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

/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c704 float lerp[5]; in camTrack() local
724 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f; in camTrack()
729 cX = lerp[0]; in camTrack()
730 cY = lerp[1]; in camTrack()
731 cZ = lerp[2]; in camTrack()
732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()
733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
734 eZ = cZ - lerp[4]; in camTrack()
738 eX = lerp[0]; in camTrack()
739 eY = lerp[1]; in camTrack()
[all …]