Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pardo Urbano
Visualization
Commits
e3c8f567
Commit
e3c8f567
authored
1 year ago
by
Alfakhori
Browse files
Options
Download
Email Patches
Plain Diff
Update public/threeJS/three1.html
parent
2ab087c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/threeJS/three1.html
+4
-0
public/threeJS/three1.html
with
4 additions
and
0 deletions
+4
-0
public/threeJS/three1.html
+
4
-
0
View file @
e3c8f567
...
...
@@ -49,6 +49,10 @@ var cube = new THREE.Mesh( geometry, material );
// Add cube to Scene
scene
.
add
(
cube
);
var
light
=
new
THREE
.
PointLight
(
0xFFFFFF
);
light
.
position
.
set
(
-
10
,
15
,
50
);
scene
.
add
(
light
);
// Render Loop
var
render
=
function
()
{
requestAnimationFrame
(
render
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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