Lines Matching refs:p2
981 static f32 calc_horizon( KPADInsideStatus *kp, Vec2 *p1, Vec2 *p2, Vec2 *hori ) in calc_horizon() argument
986 vx = p2->x - p1->x ; in calc_horizon()
987 vy = p2->y - p1->y ; in calc_horizon()
1133 Vec2 p1,p2 ; in select_1obj_first() local
1151 p2.x = op1->center.x + vx ; // Expected point to the right in select_1obj_first()
1152 p2.y = op1->center.y + vy ; in select_1obj_first()
1157 if ( p2.x > kobj_frame_min.x && p2.x < kobj_frame_max.x && in select_1obj_first()
1158 p2.y > kobj_frame_min.y && p2.y < kobj_frame_max.y ) { in select_1obj_first()
1170 if ( p2.x <= kobj_frame_min.x || p2.x >= kobj_frame_max.x || in select_1obj_first()
1171 p2.y <= kobj_frame_min.y || p2.y >= kobj_frame_max.y ) { in select_1obj_first()
1175 kp->kobj_regular[1].center = p2 ; in select_1obj_first()