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

case issue

parent 1db00e97
No related branches found
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.
Finish editing this message first!
Please register or to comment