Ce que fait la commande
JointPulleyFinish prend gnd1x (un flottant), gnd1y (un flottant), gnd2x (un flottant), gnd2y (un flottant), a1x (un flottant), a1y (un flottant), a2x (un flottant) et a2y (un flottant), et rend un entier.
Syntaxe
JointPulleyFinish(gnd1x float, gnd1y float, gnd2x float, gnd2y float, a1x float, a1y float, a2x float, a2y float) → integerParamètres
| Nom | Type |
|---|---|
| gnd1x | float |
| gnd1y | float |
| gnd2x | float |
| gnd2y | float |
| a1x | float |
| a1y | float |
| a2x | float |
| a2y | float |
Chaque forme rend
integer
Exemple · engendré
DO Print(JointPulleyFinish(1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0)) Sync()LOOPJointPulleyFinish est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.