bool DBobView::UpdatePath(){ vec3_t start, apex; if ( GetEntityCentre( entTrigger, start ) ) { if ( GetEntityCentre( entTarget, apex ) ) { CalculateTrajectory( start, apex, fMultiplier, nPathCount, fVarGravity ); return true; } } return false; }
void MGADSMTrajectory::Evaluate(const std::vector<double>& states, std::vector<double>& deltaVs) { OTL_ASSERT((int)states.size() == m_numStates, "Invalid state vector. Dimension mismatch"); CalculateTrajectory(states, deltaVs); }