Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arif
AR
Commits
27778f04
You need to sign in or sign up before continuing.
Commit
27778f04
authored
Jun 24, 2023
by
Arif
Browse files
Update 2-Hit.html
parent
14cf2af0
Pipeline
#8304
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/2-Hit.html
View file @
27778f04
...
@@ -79,7 +79,7 @@ session.addEventListener("select", (event) => {
...
@@ -79,7 +79,7 @@ session.addEventListener("select", (event) => {
if
(
flower
)
{
if
(
flower
)
{
const
clone
=
flower
.
clone
();
const
clone
=
flower
.
clone
();
// Set the desired scale for the icon.
// Set the desired scale for the icon.
const
iconScale
=
0.
1
;
// Adjust the scale value as needed
const
iconScale
=
0.
5
;
// Adjust the scale value as needed
clone
.
scale
.
set
(
iconScale
,
iconScale
,
iconScale
);
clone
.
scale
.
set
(
iconScale
,
iconScale
,
iconScale
);
clone
.
position
.
copy
(
reticle
.
position
);
clone
.
position
.
copy
(
reticle
.
position
);
scene
.
add
(
clone
);
scene
.
add
(
clone
);
...
...
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