now why cant i make a cube? NOTE:i have another "matrix" thingo you make in the pak-9's tutorial i was going to put a cube above in this...
init: n=5;
frame:drawmode=1;
linesize=2;
rot=1;
point:point=(point+1)%4;
x1=-equal(point,0)+equal(point,1)+equal(point,2)-equal(point,3);
y1=equal(point,0)+equal(point,1)-equal(point,2)-equal(point,3);
x1=x1*0.2;
y1=y1*0.2;
x=x1*cos(rot)-y1*sin(rot);
y=x1*sin(rot)+y1*cos(rot);
x = x1+0.2; y = y1+0.2; z = -0.2; //plane 1
x2 = x2-0.2; y2=y2-0.2; z= 0.2 //plane2
//plane 3
cube-E question
my Code for a cube is like this (and im not interested in the "quicker" ways... of doing anything ... just want to know... how can i make the cube... no rotation etc... (do i need the rotation?) well here it is:
