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
f181eb31
Commit
f181eb31
authored
1 year ago
by
Esguerra Montana
Browse files
Options
Download
Email Patches
Plain Diff
Update index.html
parent
396471da
Pipeline
#9435
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+0
-5
public/index.html
with
0 additions
and
5 deletions
+0
-5
public/index.html
+
0
-
5
View file @
f181eb31
...
@@ -26,11 +26,6 @@ async function activateXR() {
...
@@ -26,11 +26,6 @@ async function activateXR() {
// Add lighting to the scene
// Add lighting to the scene
const
light
=
new
THREE
.
DirectionalLight
(
0xffffff
,
1
);
const
light
=
new
THREE
.
DirectionalLight
(
0xffffff
,
1
);
light
.
position
.
set
(
1
,
1
,
1
).
normalize
();
light
.
position
.
set
(
1
,
1
,
1
).
normalize
();
scene
.
add
(
light
);
// Add lighting to the house scene
const
light
=
new
THREE
.
DirectionalLight
(
0xffffff
,
1
);
light
.
position
.
set
(
1
,
1
,
1
).
normalize
();
scene
.
add
(
light
);
scene
.
add
(
light
);
const
ambientLight
=
new
THREE
.
AmbientLight
(
0x404040
);
// soft white light
const
ambientLight
=
new
THREE
.
AmbientLight
(
0x404040
);
// soft white light
...
...
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