Home
last modified time | relevance | path

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

/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DAAirMoveType.cpp334 const float3 padVector = (padPos - owner->pos).SafeNormalize2D(); in HaveLandedOnPad() local
348 owner->SetVelocityAndSpeed((owner->speed + (padVector * accRate)) * XZVector); in HaveLandedOnPad()
351 if (Square(owner->rightdir.y) < 0.01f && owner->frontdir.dot(padVector) > 0.01f) { in HaveLandedOnPad()
352 owner->frontdir = padVector; in HaveLandedOnPad()