Commit 7edd1dcc authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

case issue

parent 1db00e97
/**
* 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment