Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
DMDesign
Commits
a6bb3b5d
Commit
a6bb3b5d
authored
Nov 04, 2015
by
Amanda Ghassaei
Browse files
small change
parent
0301302d
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/three/ThreeModel.js
View file @
a6bb3b5d
...
...
@@ -6,6 +6,7 @@
define
([
'
underscore
'
,
'
three
'
],
function
(
_
,
THREE
){
var
camera
=
new
THREE
.
PerspectiveCamera
(
60
,
window
.
innerWidth
/
window
.
innerHeight
,
0.01
,
1000
);
// camera.setLens(50);
var
scene
=
new
THREE
.
Scene
();
var
renderer
=
new
THREE
.
WebGLRenderer
({
antialias
:
true
});
//antialiasing is not supported in ff and on mac+chrome
...
...
Write
Preview
Supports
Markdown
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