Closed tobiu closed 1 month ago
While using Math.min(height, width) is correct, rotating the cube to the top or bottom side looks odd when when the width is bigger than the height of the parent container.
Math.min(height, width)
Always using the width resolves this issue.
While using
Math.min(height, width)
is correct, rotating the cube to the top or bottom side looks odd when when the width is bigger than the height of the parent container.Always using the width resolves this issue.