Home
last modified time | relevance | path

Searched refs:rightDir2D (Results 1 – 2 of 2) sorted by relevance

/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DHoverAirMoveType.cpp699 SyncedFloat3 rightDir2D; in UpdateBanking() local
706 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()
H A DStrafeAirMoveType.cpp763 float3 rightDir2D = rightdir; in UpdateAttack() local
775 float goalDotRight = goalDir.dot(rightDir2D.Normalize2D()); in UpdateAttack()
850 float3 rightDir2D = rightdir; in UpdateFlying() local
853 float goalDotRight = goalDir2D.dot(rightDir2D.Normalize2D()); in UpdateFlying()