Searched refs:goalDistSq2D (Results 1 – 1 of 1) sorted by relevance
428 const float goalDistSq2D = goalVec.SqLength2D(); in UpdateFlying() local434 (goalDistSq2D < ( 400.0f)): in UpdateFlying()435 (goalDistSq2D < (maxDrift * maxDrift)) && (math::fabs(gHeight + wantedHeight - pos.y) < maxDrift); in UpdateFlying()