Ce que fait la commande
ScreenXFrom3D lit un objet 3D sans rien y changer. Il prend x (un flottant), y (un flottant) et z (un flottant), et rend un flottant.
Syntaxe
ScreenXFrom3D(x float, y float, z float) → floatParamètres
| Nom | Type |
|---|---|
| x | float |
| y | float |
| z | float |
Chaque forme rend
float
Exemple · engendré
DO Print(ScreenXFrom3D(100.0, 120.0, 100.0)) Sync()LOOPScreenXFrom3D 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.