Home
last modified time | relevance | path

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

/RvlSDK-3.2.2/build/demos/gxdemo/src/Simple/
Dsmp-toy-anim.c228 Vec nextVel; in AnimTick() local
254 nextVel = curVel; // default in AnimTick()
260 nextVel.x = curVel.x; in AnimTick()
261 nextVel.z = -curVel.z * WALLZ_BOUNCE; in AnimTick()
266 nextVel.x = -curVel.x * WALLX_BOUNCE; in AnimTick()
267 nextVel.z = curVel.z; in AnimTick()
271 if (curVel.x < 0.0F) nextVel.x = -curVel.x * OUT_CORNER_BOUNCE; in AnimTick()
272 if (curVel.z < 0.0F) nextVel.z = -curVel.z * OUT_CORNER_BOUNCE; in AnimTick()
276 if (curVel.x > 0.0F) nextVel.x = -curVel.x * OUT_CORNER_BOUNCE; in AnimTick()
277 if (curVel.z < 0.0F) nextVel.z = -curVel.z * OUT_CORNER_BOUNCE; in AnimTick()
[all …]