prepare to sync models to worker(s)
This commit is contained in:
parent
ef4dace758
commit
2f2cb85349
6 changed files with 41 additions and 33 deletions
|
|
@ -15,6 +15,10 @@ if (mesh.object) return;
|
|||
|
||||
mesh.object = class MeshObject {
|
||||
|
||||
constructor() {
|
||||
this.id = mesh.util.uuid();
|
||||
}
|
||||
|
||||
// @returns {THREE.Object3D}
|
||||
object() {
|
||||
throw "object() requires implementation";
|
||||
|
|
|
|||
Loading…
Reference in a new issue