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
656f232a
Commit
656f232a
authored
11 months ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
0a7f6b06
Pipeline
#9430
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+2
-2
public/index.html
with
2 additions
and
2 deletions
+2
-2
public/index.html
+
2
-
2
View file @
656f232a
...
@@ -92,8 +92,8 @@ async function activateXR() {
...
@@ -92,8 +92,8 @@ async function activateXR() {
var
roofMesh
=
new
THREE
.
Mesh
(
roofGeometry
,
roofMaterial
);
var
roofMesh
=
new
THREE
.
Mesh
(
roofGeometry
,
roofMaterial
);
// Position the house
// Position the house
wallMesh
.
position
.
set
(
0
,
-
1
,
-
3
);
wallMesh
.
position
.
set
(
0
,
-
1
.5
,
-
3
);
roofMesh
.
position
.
set
(
0
,
-
1
,
-
3
);
roofMesh
.
position
.
set
(
0
,
-
1
.5
,
-
3
);
// Add the meshes to the scene
// Add the meshes to the scene
scene
.
add
(
wallMesh
);
scene
.
add
(
wallMesh
);
...
...
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