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
89b65a36
Commit
89b65a36
authored
Jun 09, 2024
by
Esguerra Montana
Browse files
Update index.html
parent
7af72eaa
Pipeline
#9351
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
89b65a36
...
@@ -25,12 +25,12 @@ async function activateXR() {
...
@@ -25,12 +25,12 @@ async function activateXR() {
// The cube will have a different color on each side.
// The cube will have a different color on each side.
const
materials
=
[
const
materials
=
[
new
THREE
.
MeshBasicMaterial
({
color
:
0x
ff0000
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
900C3F
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
0000ff
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
FF5733
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
00ff00
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
C70039
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
ff00ff
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
DAF7A6
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
00ffff
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
581845
}),
new
THREE
.
MeshBasicMaterial
({
color
:
0x
ffff00
})
new
THREE
.
MeshBasicMaterial
({
color
:
0x
E8EF0D
})
];
];
// Create the cube and add it to the demo scene.
// Create the cube and add it to the demo scene.
...
...
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