home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2003 November
/
PCWK1103B.iso
/
DesignCAD 3D Max PLUS trial 30
/
DATA1.CAB
/
Example_Files
/
Sample_Macros
/
CIRC.d3m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
2003-09-29
|
333 b
|
25 lines
'draws a circle of radius 10
'prompt user for circle's center
Setpoint "Set a point for the center of the circle" 1
Pointval x y z 1
rad=10
'start drawing the circle
sys(36) = 1
>line
{
<color 255,0,0
for i = 0 to 360 step 5
<pointxyz [x+rad*cos(i), y+rad*sin(i), z]
next i
}
end