Category : OS/2 Files
Archive   : IRIT-OS2.ZIP
Filename : COPLANAR.IRT

 
Output of file : COPLANAR.IRT contained in archive : IRIT-OS2.ZIP
#
# Simple demo of handling coplanar Booleans.
#
# Gershon Elber, July 1992.
#

coplanar=1; # Try it with coplanar = 0 to see the difference.

a = cylin(vector( 0.0, 0.0, 0.0 ), vector( 0.0, 0.0, 1.0 ), 1.0);
b = cylin(vector( 0.5, 0.0, 0.0 ), vector( 0.0, 0.0, 1.0 ), 1.0);

interact(list(a,b), 0 );

c = a+b;
interact(list(c), 0 );

c = a*b;
interact(list(c), 0 );

c = a-b;
interact(list(c), 0 );

c = b-a;
interact(list(c), 0 );

a = cylin(vector( 0.0, 0.0, 0.0 ), vector( 0.0, 0.0, 1.0 ), 1.0);
b = a * scale(vector( 2.0, 0.5, 1.0 ));
interact(list(a,b), 0 );

c = a+b;
interact(list(c), 0 );

c = a*b;
interact(list(c), 0 );

c = a-b;
interact(list(c), 0 );

c = b-a;
interact(list(c), 0 );

a = box(vector( -2.0, -2.0, 0.0 ), 4.0, 4.0, 1.0 );
b = cylin(vector( 0.0, 0.0, 0.0 ), vector( 0.0, 0.0, 2.0 ), 1.0 );
interact(list(a,b), 0 );

c = a+b;
interact(list(c), 0 );

c = a*b;
interact(list(c), 0 );

c = a-b;
interact(list(c), 0 );

c = b-a;
interact(list(c), 0 );


  3 Responses to “Category : OS/2 Files
Archive   : IRIT-OS2.ZIP
Filename : COPLANAR.IRT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/