TextureMerger icon indicating copy to clipboard operation
TextureMerger copied to clipboard

why minArea use add not multiply

Open airchik opened this issue 4 years ago • 0 comments

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));

airchik avatar Jan 11 '21 03:01 airchik