colobot-data/help/cbot/F/flatgrnd.txt

18 lines
558 B
Plaintext
Raw Normal View History

\b;Instruction \c;flatground\n;
2013-10-10 14:10:20 +00:00
Syntaxe:
\s;\c;flatground ( center, rmax );\n;
2013-10-10 14:10:20 +00:00
Calcule le rayon maximal de la zone plate, permettant par exemple de construire un bâtiment.
\t;center: \c;\l;point\u cbot\point;\n;
2013-10-10 14:10:20 +00:00
Position centrale de la zone circulaire.
\t;rmax: \c;\l;float\u cbot\float;\n;
2013-10-10 14:10:20 +00:00
Rayon maximal après lequel le calcul est stoppé.
2013-10-10 14:10:20 +00:00
\t;Valeur retournée: \c;\l;float\u cbot\float;\n;
Rayon maximal de la zone plate, compris entre zéro et rmax.
2013-10-10 14:10:20 +00:00
\t;Voir aussi
\l;Programmation\u cbot;, \l;types\u cbot\type; et \l;catégories\u cbot\category;.