Skip to content
Snippets Groups Projects
Commit 2480da98 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fix case issue

parent 7edd1dcc
Branches
No related tags found
No related merge requests found
/**
* Created by aghassaei on 6/29/15.
*/
define(['underscore', 'stlLoader', 'part', 'bin!kennyTeqPartHighResSTL'], function(_, THREE, DMAPart, stl){
var loader = new THREE.STLLoader();
var unitGeo = loader.parse(stl);
var unitScale = 1/6.9597;
unitGeo.applyMatrix(new THREE.Matrix4().makeScale(unitScale, unitScale, unitScale));
function PartSubclass(type, parent){
DMAPart.call(this, type, parent);
}
PartSubclass.prototype = Object.create(DMAPart.prototype);
PartSubclass.prototype._getGeometry = function(){
return unitGeo;
};
return PartSubclass;
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment