Lines Matching refs:slope
365 double vector_decay, vector_length, slope;
420 slope = (vector.x != 0) ? fabs(vector.y / vector.x) : INFINITY;
427 if (slope >= DEGREE_30 && vector_length > MIN_VECTOR) {
431 if (slope >= DEGREE_75) {
438 if (slope < DEGREE_60 && vector_length > MIN_VECTOR) {
442 if (slope < DEGREE_15) {
464 if (vector_length > 5.0 && slope < 1.73 && slope >= 0.57) {
478 /* If we haven't determined an axis, use the slope in the meantime */
480 delta->x = (slope >= DEGREE_60) ? 0.0 : delta->x;
481 delta->y = (slope < DEGREE_30) ? 0.0 : delta->y;