home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
PASCAL
/
3DLIB20
/
TWOPYR.3DD
< prev
next >
Wrap
Text File
|
1993-06-03
|
1KB
|
34 lines
;******************************************************************************
; TwoPyr *
; this is a demo of a complex object deinition .. *
;******************************************************************************
;******************************************************************************
; pyr *
; the simple object has a NOGEN parameter - it is used as part of the complex *
;******************************************************************************
simpleObject pyr nogen +
point 1 -100 100 0 +
point 2 -100 -100 0 +
point 3 100 -100 0 +
point 4 100 100 0 +
point 5 0 0 100 +
line 1 2 +
line 2 3 +
line 3 4 +
line 4 1 +
line 1 5 +
line 2 5 +
line 3 5 +
line 4 5 +
end-object
;******************************************************************************
; twoPyr *
; this is a complex object that has 2 simple objects in it ... *
;******************************************************************************
complexObject twoPyr +
child pyr at -100 -100 0 +
child pyr at 100 100 0 +
end-object