Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pardo Urbano
Visualization
Commits
2ab087c2
Commit
2ab087c2
authored
1 year ago
by
Alfakhori
Browse files
Options
Download
Email Patches
Plain Diff
Update public/threeJS/three1.html
parent
46084063
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/threeJS/three1.html
+2
-2
public/threeJS/three1.html
with
2 additions
and
2 deletions
+2
-2
public/threeJS/three1.html
+
2
-
2
View file @
2ab087c2
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
<title>
Cube Demo
</title>
<title>
Three.js Cube and Cylinder
</title>
<style>
body
{
margin
:
0
;
}
canvas
{
display
:
block
;
}
...
...
@@ -43,7 +43,7 @@ document.body.appendChild( renderer.domElement );
// Create a Cube Mesh with basic material
var
geometry
=
new
THREE
.
BoxGeometry
(
1
,
1
,
1
);
var
material
=
new
THREE
.
Mesh
Basic
Material
(
{
color
:
"
#433F81
"
}
);
var
material
=
new
THREE
.
Mesh
Phong
Material
(
{
color
:
"
#433F81
"
}
);
var
cube
=
new
THREE
.
Mesh
(
geometry
,
material
);
// Add cube to Scene
...
...
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
Menu
Explore
Projects
Groups
Snippets