Skip to content

Commit

Permalink
fix: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-moe-pupil committed Sep 19, 2024
1 parent 3ee10e6 commit 6dec1c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ts/src/renderer/three/InitEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ namespace Renderer {

setSize(x: number, y: number, z: number) {
if (this.body instanceof AnimatedSprite) {
this.body.originalHeight
this.scale.set(x, 1, z);
} else if (this.body instanceof Model) {
this.scale.x = this.body.originalScale.x * (x / this.body.originalSize.x);
Expand Down

0 comments on commit 6dec1c8

Please sign in to comment.