Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jeyaram
Visualization
Commits
e3c8f567
Commit
e3c8f567
authored
May 26, 2023
by
Alfakhori
Browse files
Update public/threeJS/three1.html
parent
2ab087c2
Changes
1
Show whitespace changes
Inline
Side-by-side
public/threeJS/three1.html
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
);
...
...
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