Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Esguerra Montana
Web AR
Commits
bd5071cd
Commit
bd5071cd
authored
Jun 16, 2024
by
Esguerra Montana
Browse files
Update index.html
parent
4f5f80d4
Pipeline
#9425
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
bd5071cd
...
...
@@ -35,7 +35,7 @@ async function activateXR() {
const
material
=
new
THREE
.
MeshPhysicalMaterial
({
color
:
0xC70039
,
roughness
:
0.5
,
metalness
:
0.5
,
clearcoat
:
1.0
,
clearcoatRoughness
:
0.1
});
// Create the tetrahedron and add it to the demo scene.
const
tetrahedron
=
new
THREE
.
Mesh
(
new
THREE
.
TetrahedronGeometry
(
0.
7
),
material
);
const
tetrahedron
=
new
THREE
.
Mesh
(
new
THREE
.
TetrahedronGeometry
(
0.
5
),
material
);
// Position the tetrahedron
tetrahedron
.
position
.
set
(
0
,
0
,
-
1
);
...
...
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