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
3e718b26
Commit
3e718b26
authored
1 year ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
dd633943
Pipeline
#9438
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+3
-0
public/index.html
with
3 additions
and
0 deletions
+3
-0
public/index.html
+
3
-
0
View file @
3e718b26
...
...
@@ -51,6 +51,9 @@ async function activateXR() {
// Create the torus mesh
const
torusMesh
=
new
THREE
.
Mesh
(
torusGeometry
,
goldMaterial
);
// Scale the torus mesh to make it smaller
torusMesh
.
scale
.
set
(
0.5
,
0.5
,
0.5
);
// Add the torus mesh to the scene
scene
.
add
(
torusMesh
);
...
...
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