Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Karakas
TestWebARApplication
Commits
8a62fc35
Commit
8a62fc35
authored
Nov 23, 2023
by
Karakas
Browse files
Changed cube size from 0.5 to 0.2
parent
ff144bff
Pipeline
#8923
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
8a62fc35
...
@@ -34,7 +34,7 @@ const materials = [
...
@@ -34,7 +34,7 @@ const materials = [
];
];
// Create the cube and add it to the demo scene.
// Create the cube and add it to the demo scene.
const
cube
=
new
THREE
.
Mesh
(
new
THREE
.
BoxBufferGeometry
(
0.
5
,
0.
5
,
0.
5
),
materials
);
const
cube
=
new
THREE
.
Mesh
(
new
THREE
.
BoxBufferGeometry
(
0.
2
,
0.
2
,
0.
2
),
materials
);
cube
.
position
.
set
(
0
,
0
,
-
1
);
cube
.
position
.
set
(
0
,
0
,
-
1
);
scene
.
add
(
cube
);
scene
.
add
(
cube
);
...
...
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