[comp.sys.mac.programmer] Graf3D Library in MPW 3.0?

deragon@CADMAN.NYU.EDU (John Deragon) (02/10/90)

Hiya folks, has anyone used the Graf3D Library in MPW 3.0?

	I am having a problem with it.. What I am doing is:


			Port3D	port;
			Rect    vport;
			Fixed   t, l, b, r;

			....
			 ....
			
			SetRect(&vport, 20, 20, 300, 300);
			t = 20; l = 20; b = 300; r = 300;
			
			InitGrf3D(port);
	
			ViewPort(vport);
			LookAt(t, l, b, r);
			ViewAngle(0) /*No Perspective */

			MoveTo3D(20,20,0);
			LineTo3D(100,100, 0);

			....
			 ....

What is wrong with this? I am doing something that is obviously wrong? I must
me missing something.. WHAT?!


	Thanks in advance..
			John Deragon