ben t'as pas besoin de le savoir ça, puisque dans ta liste de points tous les pts n'y sont qu'une fois...
en asm, la map d'un cube ressemblerait à qquechose comme ça:
Points
dc.w 7
dc.w -500,-500,-500 ; Point N°0
dc.w 500,-500,-500 ; Point N°1
dc.w -500,500,-500 ; Point N°2
dc.w 500,500,-500 ; Point N°3
dc.w -500,-500,500 ; Point N°4
dc.w 500,-500,500 ; Point N°5
dc.w -500,500,500 ; Point N°6
dc.w 500,500,500 ; Point N°7
Faces
dc.w 11
dc.w 0,0,2,3 ; Face N°0
dc.w 0,3,1,0 ; Face N°1
dc.w 0,4,5,7 ; Face N°2
dc.w 0,7,6,4 ; Face N°3
dc.w 0,0,1,5 ; Face N°4
dc.w 0,5,4,0 ; Face N°5
dc.w 0,1,3,7 ; Face N°6
dc.w 0,7,5,1 ; Face N°7
dc.w 0,3,2,6 ; Face N°8
dc.w 0,6,7,3 ; Face N°9
dc.w 0,2,0,4 ; Face N°10
dc.w 0,4,6,2 ; Face N°11
[edit]Edité par sBibi le 09-03-2002 à 00:21:28[/edit]