Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Thapa
visualization
Commits
c11f6d32
Commit
c11f6d32
authored
1 year ago
by
Thapa
Browse files
Options
Download
Email Patches
Plain Diff
Update 2-Hit.html
parent
e7d86510
Pipeline
#7910
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/2-Hit.html
+4
-0
public/2-Hit.html
with
4 additions
and
0 deletions
+4
-0
public/2-Hit.html
+
4
-
0
View file @
c11f6d32
...
@@ -80,6 +80,10 @@ session.addEventListener("select", (event) => {
...
@@ -80,6 +80,10 @@ session.addEventListener("select", (event) => {
if
(
flower
)
{
if
(
flower
)
{
const
clone
=
flower
.
clone
();
const
clone
=
flower
.
clone
();
clone
.
position
.
copy
(
reticle
.
position
);
clone
.
position
.
copy
(
reticle
.
position
);
// Set the desired scale for the icon.
const
iconScale
=
0.5
;
// Adjust the scale value as needed
clone
.
scale
.
set
(
iconScale
,
iconScale
,
iconScale
);
scene
.
add
(
clone
);
scene
.
add
(
clone
);
}
}
});
});
...
...
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