Commit 2480da98 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fix case issue

parent 7edd1dcc
* 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){, type, parent);
PartSubclass.prototype = Object.create(DMAPart.prototype);
PartSubclass.prototype._getGeometry = function(){
return unitGeo;
return PartSubclass;
\ No newline at end of file
Supports Markdown
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