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
0a7f6b06
Commit
0a7f6b06
authored
Jun 16, 2024
by
Esguerra Montana
Browse files
Update index.html
parent
68a0a8d3
Pipeline
#9429
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
0a7f6b06
...
...
@@ -92,8 +92,8 @@ async function activateXR() {
var
roofMesh
=
new
THREE
.
Mesh
(
roofGeometry
,
roofMaterial
);
// Position the house
wallMesh
.
position
.
set
(
0
,
1
,
-
3
);
roofMesh
.
position
.
set
(
0
,
1
,
-
3
);
wallMesh
.
position
.
set
(
0
,
-
1
,
-
3
);
roofMesh
.
position
.
set
(
0
,
-
1
,
-
3
);
// Add the meshes to the scene
scene
.
add
(
wallMesh
);
...
...
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