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
Esguerra Montana
Web AR
Commits
eadec0c6
Commit
eadec0c6
authored
1 year ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
09edf312
Pipeline
#9413
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Show 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 @
eadec0c6
...
@@ -27,7 +27,7 @@ async function activateXR() {
...
@@ -27,7 +27,7 @@ async function activateXR() {
const
material
=
new
THREE
.
MeshToonMaterial
({
color
:
0xc994c7
});
const
material
=
new
THREE
.
MeshToonMaterial
({
color
:
0xc994c7
});
// 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.2
,
0.2
,
12
,
4
,
2
,
3
),
material
);
const
torus
=
new
THREE
.
Mesh
(
new
THREE
.
TorusKnotGeometry
(
0.2
,
0.2
,
5
,
4
,
1
,
2
),
material
);
//position the next geometry (sphere)
//position the next geometry (sphere)
torus
.
position
.
set
(
0
,
0
,
-
1
);
torus
.
position
.
set
(
0
,
0
,
-
1
);
// Add the mesh to the scene
// Add the mesh to the 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