数据结构优化
This commit is contained in:
@@ -198,7 +198,7 @@ const updateAndDrawParticles = () => {
|
||||
}
|
||||
}
|
||||
|
||||
const createMeteor = (force = false) => {
|
||||
const createMeteor = () => {
|
||||
const startX = Math.random() * width
|
||||
const angle = Math.PI / 4 // 45度
|
||||
meteors.push({
|
||||
|
||||
Reference in New Issue
Block a user