Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Esguerra Montana
Web AR
Commits
950762d0
Commit
950762d0
authored
Jun 09, 2024
by
Esguerra Montana
Browse files
Update index.html
parent
c2d3ddbd
Pipeline
#9367
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
950762d0
...
@@ -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
.
Points
Material
({
color
:
0x
7a0177
,
size
:
0.1
});
const
material
=
new
THREE
.
MeshToon
Material
({
color
:
0x
c994c7
});
// 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
.
TorusKnotGeometry
(
0.3
,
0.2
,
32
,
6
,
2
,
3
),
material
);
const
torus
=
new
THREE
.
Mesh
(
new
THREE
.
TorusKnotGeometry
(
0.3
,
0.2
,
32
,
6
,
2
,
3
),
material
);
...
...
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