mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-15 02:01:05 +00:00
larry babby and threejs for glsl
This commit is contained in:
10
webGl/my-threejs-test/node_modules/@parcel/workers/src/childState.js
generated
vendored
Normal file
10
webGl/my-threejs-test/node_modules/@parcel/workers/src/childState.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// @flow
|
||||
import type {Child} from './child';
|
||||
|
||||
// This file is imported by both the WorkerFarm and child implementation.
|
||||
// When a worker is inited, it sets the state in this file.
|
||||
// This way, WorkerFarm can access the state without directly importing the child code.
|
||||
export let child: ?Child = null;
|
||||
export function setChild(c: Child) {
|
||||
child = c;
|
||||
}
|
||||
Reference in New Issue
Block a user