最新代码
This commit is contained in:
8
public/sdk/three/jsm/offscreen/offscreen.js
Normal file
8
public/sdk/three/jsm/offscreen/offscreen.js
Normal file
@ -0,0 +1,8 @@
|
||||
import init from './scene.js';
|
||||
|
||||
self.onmessage = function ( message ) {
|
||||
|
||||
const data = message.data;
|
||||
init( data.drawingSurface, data.width, data.height, data.pixelRatio, data.path );
|
||||
|
||||
};
|
Reference in New Issue
Block a user