Apr 11 2014 | 10:03 pm

I know this is basic.. but jitter has remained a frustration for me since day one - and my shitty math skills don't help the matter. :/

I need to enumerate the coordinates for a cube of a given dimension and store them as a single matrix which can then be rendered as a set of points in openGL.

I can generate the coords for a single 'slice' of a cube (using jit.expr to normalize the values of an input matrix), but it's not clear to me (1) how to render the entire cube (I assume a combination of mesh + multiple would work?) and (2) the best way to store all the coords of the cube as a single matrix. The latter might not be necessary, but I need to be able to easily apply functions to all of the coords.

I hope that makes sense. I have been at this for days and my brain hurts.