| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| pointblast.c | 89 float angle, velocity, direction; local 102 velocity = MEAN_VELOCITY + RANDOM_RANGE(-0.8, 1.0); 103 pointVelocity[i][0] = velocity * cos(angle); 104 pointVelocity[i][1] = velocity * sin(angle); 144 pointVelocity[i][1] *= 0.8; /* 80% of previous up velocity. */
|
| spriteblast.c | 151 float angle, velocity, direction; local 164 velocity = MEAN_VELOCITY + RANDOM_RANGE(-0.8, 1.0); 165 pointVelocity[i][0] = velocity * cos(angle); 166 pointVelocity[i][1] = velocity * sin(angle); 206 pointVelocity[i][1] *= 0.8; /* 80% of previous up velocity. */
|
| /xsrc/external/mit/xorg-server/dist/include/ |
| ptrveloc.h | 48 * returns actual acceleration depending on velocity, acceleration control,... 52 double velocity, double threshold, double accelCoeff); 56 * calc mean velocity and decide which motion was along 72 double velocity; /* velocity as guessed by algorithm */ member in struct:_DeviceVelocityRec 73 double last_velocity; /* previous velocity estimate */ 76 double corr_mul; /* config: multiply this into velocity */ 83 int initial_range; /* config: max. offset used as initial velocity */ 84 Bool average_accel; /* config: average acceleration over velocity */ 114 double velocity, double threshold, double acc) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/include/ |
| ptrveloc.h | 48 * returns actual acceleration depending on velocity, acceleration control,... 52 float velocity, float threshold, float accelCoeff); 56 * calc mean velocity and decide which motion was along 75 float velocity; /* velocity as guessed by algorithm */ member in struct:_DeviceVelocityRec 76 float last_velocity; /* previous velocity estimate */ 79 float corr_mul; /* config: multiply this into velocity */ 86 int initial_range; /* config: max. offset used as initial velocity */ 87 Bool average_accel; /* config: average acceleration over velocity */ 108 float velocity, float threshold, float acc) [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| ptrveloc.c | 43 * 1) provide a sophisticated ballistic velocity estimate to improve 44 * the relation between velocity (of the device) and acceleration 55 * for a given velocity 65 SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity, 324 * velocity scaling 582 * calc velocity for given tracker, with 583 * velocity scaling. 598 /* find the most plausible velocity. That is, the most distant 600 * in the same octant, and where the velocity is within an 601 * acceptable range to the initial velocity 695 double velocity; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| ptrveloc.c | 42 * 1) provide a sophisticated ballistic velocity estimate to improve 43 * the relation between velocity (of the device) and acceleration 54 * for a given velocity 66 SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, float velocity, 279 * velocity scaling 486 * calc velocity for given tracker, with 487 * velocity scaling. 502 /* find the most plausible velocity. That is, the most distant 504 * or simply too much off initial velocity. 511 /* initial velocity: a low-offset, valid velocity * 592 float velocity; local [all...] |