Lines Matching refs:p2
935 static f32 calc_horizon( KPADInsideStatus *kp, Vec2 *p1, Vec2 *p2, Vec2 *hori ) in calc_horizon() argument
940 vx = p2->x - p1->x ; in calc_horizon()
941 vy = p2->y - p1->y ; in calc_horizon()
1087 Vec2 p1,p2 ; in select_1obj_first() local
1105 p2.x = op1->center.x + vx ; // Predicted point on the right in select_1obj_first()
1106 p2.y = op1->center.y + vy ; in select_1obj_first()
1111 if ( p2.x > kobj_frame_min.x && p2.x < kobj_frame_max.x && in select_1obj_first()
1112 p2.y > kobj_frame_min.y && p2.y < kobj_frame_max.y ) { in select_1obj_first()
1124 if ( p2.x <= kobj_frame_min.x || p2.x >= kobj_frame_max.x || in select_1obj_first()
1125 p2.y <= kobj_frame_min.y || p2.y >= kobj_frame_max.y ) { in select_1obj_first()
1129 kp->kobj_regular[1].center = p2 ; in select_1obj_first()