UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

28 lines 825 B
/** @internal */ export function _ConnectBefore(newOne, activeOne) { newOne.previousItem = activeOne.previousItem; newOne.nextItem = activeOne; if (activeOne.previousItem) { activeOne.previousItem.nextItem = newOne; } activeOne.previousItem = newOne; } /** @internal */ export function _ConnectAfter(newOne, activeOne) { newOne.previousItem = activeOne; newOne.nextItem = activeOne.nextItem; if (activeOne.nextItem) { activeOne.nextItem.previousItem = newOne; } activeOne.nextItem = newOne; } /** @internal */ export function _RemoveFromQueue(item) { if (item.previousItem) { item.previousItem.nextItem = item.nextItem; } if (item.nextItem) { item.nextItem.previousItem = item.previousItem; } } //# sourceMappingURL=executionQueue.js.map