OpenSteer::AbstractVehicle* OpenSteer::OpenSteerDemo::vehicleNearestToMouse (void) { return (mouseInWindow ? findVehicleNearestScreenPosition (mouseX, mouseY) : NULL); }
void OpenSteer::OpenSteerDemo::selectVehicleNearestScreenPosition (int x, int y) { selectedVehicle = findVehicleNearestScreenPosition (x, y); }
void OpenSteer::OpenSteerDemo::selectVehicleNearestScreenPosition (int x, int y) { SteeringVehicle::setSelectedVehicle( findVehicleNearestScreenPosition (x, y) ); }