home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
dev
/
e
/
amigae
/
src
/
tools
/
vector
/
vectest1.e
next >
Wrap
Text File
|
1992-09-02
|
465b
|
17 lines
MODULE 'tools/vector'
CONST R=100
PROC main()
DEF w
IF w:=OpenW(0,11,400,160,$200,$F,'testing the vector3d module!',NIL,1,NIL)
init3d(75,60)
setmiddle3d(200,80)
setpers3d(500,200)
polygon3d([R,R,R, R,R,-R, R,-R,-R, R,-R,R, R,R,R, R,-R,R, -R,-R,R, -R,R,R, R,R,R],3)
polygon3d([-R,-R,-R, -R,-R,R, -R,R,R, -R,R,-R, -R,-R,-R, -R,R,-R, R,R,-R, R,-R,-R, -R,-R,-R],3)
WaitIMessage(w)
CloseW(w)
ENDIF
ENDPROC