Skip to content

Commit

Permalink
fix: trail particle init currTime
Browse files Browse the repository at this point in the history
  • Loading branch information
deepkolos committed Feb 5, 2024
1 parent ea0d12b commit 86e81d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TrailParticle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default class TrailParticle extends InstancedMesh<
this.count = this.length;
this.shape = shape;
this.boundingSphere = undefined as any;
this.currTime = this.time; // 消除buffer默认数据的渲染
this.init();
}

Expand Down

0 comments on commit 86e81d8

Please sign in to comment.