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
46084063
Commit
46084063
authored
1 year ago
by
Alfakhori
Browse files
Options
Download
Email Patches
Plain Diff
Update public/threeJS/three1.html
parent
b968708f
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/threeJS/three1.html
+5
-5
public/threeJS/three1.html
with
5 additions
and
5 deletions
+5
-5
public/threeJS/three1.html
+
5
-
5
View file @
46084063
...
...
@@ -5,16 +5,16 @@
<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>
<style>
body
{
margin
:
0
;
}
canvas
{
display
:
block
;
}
</style>
<!-- three.js -->
<script
src=
"https://unpkg.com/three@0.126.0/build/three.js"
></script>
</head>
<body>
<!-- Starting an immersive WebXR session requires user interaction.
We start this one with a simple button. -->
<script>
// ------------------------------------------------
// BASIC SETUP
// ------------------------------------------------
...
...
@@ -29,7 +29,7 @@ camera.position.z = 4;
var
renderer
=
new
THREE
.
WebGLRenderer
({
antialias
:
true
});
// Configure renderer clear color
renderer
.
setClearColor
(
"
#
00
0000
"
);
renderer
.
setClearColor
(
"
#
ff
0000
"
);
// Configure renderer size
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
...
...
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