Skip to content

Commit

Permalink
+collada-model for a-frame 1.4.0 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
gftruj committed Feb 8, 2023
1 parent f5300c4 commit 0ef68be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3,023 deletions.
5 changes: 2 additions & 3 deletions aframe/collada/collada-model.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "./lib/ColladaLoader.js";
import { ColladaLoader } from 'three/examples/jsm/loaders/ColladaLoader.js';

export const Component = AFRAME.registerComponent('collada-model', {
schema: {
Expand All @@ -8,8 +8,7 @@ export const Component = AFRAME.registerComponent('collada-model', {

init: function () {
this.model = null;
this.loader = new THREE.ColladaLoader();
this.loader.options.convertUpAxis = true;
this.loader = new ColladaLoader();
},

update: function () {
Expand Down
Loading

0 comments on commit 0ef68be

Please sign in to comment.