Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i=0;i<3;i+=1){
- for(j=0;j<3;j+=1){
- rotxpos[i,j]=0;
- rotxneg[i,j]=0;
- rotypos[i,j]=0;
- rotyneg[i,j]=0;
- rotzpos[i,j]=0;
- rotzneg[i,j]=0;
- }}
- rotxpos[0,0]=1;
- rotxpos[1,2]=1;
- rotxpos[2,1]=-1;
- rotxneg[0,0]=1;
- rotxneg[2,1]=1;
- rotxneg[1,2]=-1;
- rotypos[1,1]=1;
- rotypos[2,0]=1;
- rotypos[0,2]=-1;
- rotyneg[1,1]=1;
- rotyneg[0,2]=1;
- rotyneg[2,0]=-1;
- rotzpos[2,2]=1;
- rotzpos[0,1]=1;
- rotzpos[1,0]=-1;
- rotzneg[2,2]=1;
- rotzneg[1,0]=1;
- rotzneg[0,1]=-1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement