Si x-link == min-x ==>
Si k != min-k ==>
s = k+not(1);
for( x-i = 1 ; x-i == max-x+not(min-x) ; x-i++ )
put-grafic-matrix-vector( mapa[i][j][k] , x-centre-de-pantalla+x-i , y-centre-de-pantalla );
put-grafic-matrix-vector( mapa[i][j][s] , x-centre-de-pantalla+not(max-x)+min-x+x-i , ...
... y-centre-de-pantalla );
Si x-link == max-x ==>
Si k != max-k ==>
s = k+1;
for( x-i = not(1) ; x-i == not(max-x)+min-x ; x-i-- )
put-grafic-matrix-vector( mapa[i][j][k] , x-centre-de-pantalla+x-i , y-centre-de-pantalla );
put-grafic-matrix-vector( mapa[i][j][s] , x-centre-de-pantalla+max-x+not(min-x)+x-i , ...
... y-centre-de-pantalla );
Si y-link == min-y ==>
Si k+max-k+not(min-k) < k-final ==>
s = k+max-k+not(min-k);
for( y-j = 1 ; y-j == max-y+not(min-y) ; y-j++ )
put-grafic-matrix-vector( mapa[i][j][k] , x-centre-de-pantalla , y-centre-de-pantalla+y-j );
put-grafic-matrix-vector( mapa[i][j][s] , x-centre-de-pantalla , ...
.... y-centre-de-pantalla+not(max-y)+min-y+y-j );
Si y-link == max-y ==>
Si k+not(max-k)+min-k > k-principi ==>
s = k+not(max-k)+min-k;
for( y-j = not(1) ; y-j == not(max-y)+min-y ; y-j-- )
put-grafic-matrix-vector( mapa[i][j][k] , x-centre-de-pantalla , y-centre-de-pantalla+y-j );
put-grafic-matrix-vector( mapa[i][j][s] , x-centre-de-pantalla , ...
... y-centre-de-pantalla+max-y+not(min-y)+y-j );
No hay comentarios:
Publicar un comentario