예제 #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))
}
예제 #2
0
func DestroyFlightLoop(flightLoopId FlightLoopId) {
	C.XPLMDestroyFlightLoop(C.XPLMFlightLoopID(flightLoopId))
}