i’ve done a:
float mat = new float;
s.tx = mat;
s.ty = mat;
s.tz = mat;
at the end of my transformations well at the point at where i finish all my rotaions, and translations.
but it seems to be out. but it dont look like its out. very strange.
what i’m doing is linking the objects up with lines. my line code is simple as:
i move aload of dots, then i draw lines like:
gl.glVertex3f(sOne.tx, sOne.ty, sOne.tz);
gl.glVertex3f(sTwo.tx, sTwo.ty, sTwo.tz);
so the sOne is one object witch has the stored transformations after all the moves, it holds the floats in a propertys called tx, ty, tz… same with sTwo but sTwo is in a diffrent location.
so far as i can see the lines code is ok? or am i missing something ?
the lines dont connect to the dots full on, they are nearly there mind . can lines draw in ‘z’ ? thought they could.
any help would be coolll…