I'm new to the 3d scene and I'm having issues regarding setting world dimensions for primitives.
I'm creating a cube primitive and mapping a texture onto it. Everything works as it should, but I want the primitive to be 32x32x32 pixels on the screen.
I figure I'll have to do that by using a scaling matrix, but what formula do I use to determine the scale?
Is there a formula to get the primitive dimensions so I can divide that by 32 in order to get the scale?