Searched refs:horizon (Results 1 – 6 of 6) sorted by relevance
300 vec.x = scale * sp->horizon.x ; // Right direction vector in draw_position()301 vec.y = scale * sp->horizon.y ; in draw_position()305 vec.x = scale * -sp->horizon.y ; // Lower direction vector in draw_position()306 vec.y = scale * sp->horizon.x ; in draw_position()
421 sp->horizon.x = kp->acc_horizon.x = kp->obj_horizon.x = 1.0f ; in reset_kpad()422 sp->horizon.y = kp->acc_horizon.y = kp->obj_horizon.y = 0.0f ; in reset_kpad()1337 sp->horizon = pos ; in calc_dpd_variable()1342 vec.x = pos.x - sp->horizon.x ; in calc_dpd_variable()1343 vec.y = pos.y - sp->horizon.y ; in calc_dpd_variable()1360 vec.x = f1 * vec.x + sp->horizon.x ; in calc_dpd_variable()1361 vec.y = f1 * vec.y + sp->horizon.y ; in calc_dpd_variable()1366 sp->hori_vec.x = vec.x - sp->horizon.x ; in calc_dpd_variable()1367 sp->hori_vec.y = vec.y - sp->horizon.y ; in calc_dpd_variable()1370 sp->horizon = vec ; in calc_dpd_variable()[all …]
271 sp->horizon.x = kp->acc_horizon.x = kp->obj_horizon.x = 1.0f ; in reset_kpad()272 sp->horizon.y = kp->acc_horizon.y = kp->obj_horizon.y = 0.0f ; in reset_kpad()1300 sp->horizon = pos ; in calc_dpd_variable()1305 vec.x = pos.x - sp->horizon.x ; in calc_dpd_variable()1306 vec.y = pos.y - sp->horizon.y ; in calc_dpd_variable()1322 vec.x = f1 * vec.x + sp->horizon.x ; in calc_dpd_variable()1323 vec.y = f1 * vec.y + sp->horizon.y ; in calc_dpd_variable()1328 sp->hori_vec.x = vec.x - sp->horizon.x ; in calc_dpd_variable()1329 sp->hori_vec.y = vec.y - sp->horizon.y ; in calc_dpd_variable()1332 sp->horizon = vec ; in calc_dpd_variable()
383 vec.x = scale * sp->horizon.x ; // Right direction vector in draw_position()384 vec.y = scale * sp->horizon.y ; in draw_position()388 vec.x = scale * -sp->horizon.y ; // Lower direction vector in draw_position()389 vec.y = scale * sp->horizon.x ; in draw_position()
159 Vec2 horizon ; member
150 Vec2 horizon ; member