Skip to content

why minArea use add not multiply #3

Description

@airchik

var minArea = ((this.maxWidth * this.textureCount) + (this.maxHeight * this.textureCount));


var calculatedArea = calculatedSize.width + calculatedSize.height;

why not use * ,like var minArea = ((this.maxWidth * this.textureCount) * (this.maxHeight * this.textureCount));

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