jonafinmicclen / Nth-Rubiks-cube-3D

3D rubiks cube simulator
1 stars 0 forks source link

potential optimisation #1

Open jonafinmicclen opened 9 months ago

jonafinmicclen commented 9 months ago

Do not create internal cubes, the 3x3x3 cube is generated by creating 3x3x3 cubes meaning internal cubes are generated even when they wont be seen by the user, this problem increases exponentially when creating bigger cubes eg 4x4x4 has 8 internal unseen cubes.

jonafinmicclen commented 9 months ago

Still creating internal cubes but no longer rotating or rendering with boolean 'virtual'.