Beispiel #1
0
func ScheduleFlightLoop(flightLoopId FlightLoopId, interval float32, relativeToNow bool) {
	cRelativeToNow := 0
	if relativeToNow {
		cRelativeToNow = 1
	}
	C.XPLMScheduleFlightLoop(C.XPLMFlightLoopID(flightLoopId), C.float(interval), C.int(cRelativeToNow))
}
Beispiel #2
0
func DestroyFlightLoop(flightLoopId FlightLoopId) {
	C.XPLMDestroyFlightLoop(C.XPLMFlightLoopID(flightLoopId))
}