Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
O
official
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
official
Commits
d3cc2cf6
Commit
d3cc2cf6
authored
Feb 12, 2026
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8dbd9ec1
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
addThreeD2.js
static/addThreeD2.js
+2
-2
No files found.
static/addThreeD2.js
View file @
d3cc2cf6
...
...
@@ -101,7 +101,7 @@ function checkMobile() {
function
initMobileGeo
(
en
)
{
cylinderMobileGroup
=
new
THREE
.
Group
()
cylinderMobileGroup
.
position
.
y
+=
3
0
cylinderMobileGroup
.
position
.
y
+=
4
0
for
(
let
sliceIndex
=
0
;
sliceIndex
<
slice
;
sliceIndex
++
)
{
const
w
=
radius
*
Math
.
sin
(
Math
.
PI
/
slice
)
*
2
...
...
@@ -137,7 +137,7 @@ function initMobileGeo(en) {
function
initPcGeo
(
en
)
{
cylinderGroup
=
new
THREE
.
Group
()
cylinderGroup
.
position
.
y
-=
30
cylinderGroup
.
position
.
y
-=
15
for
(
let
sliceIndex
=
0
;
sliceIndex
<
slice
;
sliceIndex
++
)
{
const
w
=
radius
*
Math
.
sin
(
Math
.
PI
/
slice
)
*
2
const
rotation
=
((
2
*
Math
.
PI
)
/
slice
)
*
sliceIndex
...
...
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