Searched refs:rightDir2D (Results 1 – 2 of 2) sorted by relevance
699 SyncedFloat3 rightDir2D; in UpdateBanking() local706 rightDir2D = frontDir.cross(UpVector); in UpdateBanking()709 wantedBank = rightDir2D.dot(deltaSpeed) / accRate * 0.5f; in UpdateBanking()721 upDir = rightDir2D.cross(frontDir); in UpdateBanking()722 upDir = upDir * math::cos(currentBank) + rightDir2D * math::sin(currentBank); in UpdateBanking()
763 float3 rightDir2D = rightdir; in UpdateAttack() local775 float goalDotRight = goalDir.dot(rightDir2D.Normalize2D()); in UpdateAttack()850 float3 rightDir2D = rightdir; in UpdateFlying() local853 float goalDotRight = goalDir2D.dot(rightDir2D.Normalize2D()); in UpdateFlying()