Searched refs:hori_vec (Results 1 – 2 of 2) sorted by relevance
147 Vec2 hori_vec ; member
252 sp->hori_vec = Vec2_0 ; in reset_kpad()1255 sp->hori_vec = Vec2_0 ; in calc_dpd_variable()1282 sp->hori_vec.x = vec.x - sp->horizon.x ; in calc_dpd_variable()1283 sp->hori_vec.y = vec.y - sp->horizon.y ; in calc_dpd_variable()1284 … sp->hori_speed = sqrtf( sp->hori_vec.x * sp->hori_vec.x + sp->hori_vec.y * sp->hori_vec.y ) ; in calc_dpd_variable()