TextureMerger
TextureMerger copied to clipboard
why minArea use add not multiply
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));