Location: PHPKode > projects > PHP Cad and Drawing Program > phpcad/functions/dddpalms.inc
AAAAAAAAAAAAAAAAAAAAAAAAA
// ** Text Editor ** 3D
// Draws a 3-D palm tree in povray at location x,y
//
function dddpalms($image,$scale,$x,$y){}
BBBBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCC
function dddpalms($image,$scale,$x,$y)
{
    global $zz;
    $ot=
"// Requires palm.inc For a palm tree.
// a loop to declare a forest with 40 palm trees
#declare r1 = seed(1);
#declare i=39;
#while (i<40)
#declare position=<$x,11,$y>;
// start of a single palm tree
palmtree(position)
#declare i=i+1;
#end
";
     fwrite($zz,$ot);
}
DDDDDDDDDDDDDDDDDDDDDDDD
$inthemenu = "no";
$dirlist= array("NA");
$lenlist= array("NA");
$txtitem="AAAAAA";
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE
Return current item: PHP Cad and Drawing Program