Commit d3cc2cf6 authored by 吕祺's avatar 吕祺 ⛹🏽

update

parent 8dbd9ec1
......@@ -101,7 +101,7 @@ function checkMobile() {
function initMobileGeo(en) {
cylinderMobileGroup = new THREE.Group()
cylinderMobileGroup.position.y += 30
cylinderMobileGroup.position.y += 40
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment