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
61d64e61
Commit
61d64e61
authored
11 months ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
720f5563
Pipeline
#9421
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+1
-1
public/index.html
with
1 addition
and
1 deletion
+1
-1
public/index.html
+
1
-
1
View file @
61d64e61
...
@@ -24,7 +24,7 @@ async function activateXR() {
...
@@ -24,7 +24,7 @@ async function activateXR() {
const
scene
=
new
THREE
.
Scene
();
const
scene
=
new
THREE
.
Scene
();
// Color of the torus geometry.
// Color of the torus geometry.
const
material
=
new
THREE
.
MeshPhysicalMaterial
({
color
:
0x
8B4513
,
roughness
:
0.5
,
metalness
:
0.5
,
clearcoat
:
1.0
,
clearcoatRoughness
:
0.1
});
const
material
=
new
THREE
.
MeshPhysicalMaterial
({
color
:
0x
ff0000
,
roughness
:
0.5
,
metalness
:
0.5
,
clearcoat
:
1.0
,
clearcoatRoughness
:
0.1
});
// Create the torus and add it to the demo scene.
// Create the torus and add it to the demo scene.
const
torus
=
new
THREE
.
Mesh
(
new
THREE
.
TetrahedronGeometry
(
1
);,
material
);
const
torus
=
new
THREE
.
Mesh
(
new
THREE
.
TetrahedronGeometry
(
1
);,
material
);
...
...
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