Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
DMDesign
Commits
7edd1dcc
Commit
7edd1dcc
authored
Aug 24, 2015
by
Amanda Ghassaei
Browse files
case issue
parent
1db00e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/parts/KennyTeqHighresPart.js
deleted
100644 → 0
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment