Skip to content

每块碎片大小算错了吗? #1

@yyman001

Description

@yyman001

源代码:

this.debrisWidth = this.contentWidth / this.level.row; //总宽/行?
this.debrisHeight = this.contentHeight / this.level.col; //总高/列?

不应该是 总宽/列 = 每个宽? 总高 / 行 = 每个高 ?
修正

this.debrisWidth = this.contentWidth / this.level.col; //总宽/列
this.debrisHeight = this.contentHeight / this.level.row; //总高/行

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions