add obj export
This commit is contained in:
parent
5bb0cd327f
commit
7ea66a9e7b
6 changed files with 91 additions and 38 deletions
|
|
@ -76,9 +76,13 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
return this.mesh;
|
||||
}
|
||||
|
||||
get matrix() {
|
||||
return this.mesh.matrixWorld.elements;
|
||||
}
|
||||
|
||||
debug() {
|
||||
worker.model_debug({
|
||||
matrix: this.mesh.matrixWorld.elements,
|
||||
matrix: this.matrix,
|
||||
id: this.id
|
||||
}).then(data => {
|
||||
// for debugging matrix ops
|
||||
|
|
|
|||
Loading…
Reference in a new issue