[comp.sys.amiga] Graph-it.

ali@navajo.UUCP (01/28/87)

[I actually posted this message a few days ago from another 
 machine but with distribution "local," how dum of me... :-( ]

I got the "graph-it" program from the net, downloaded and ran it...
Neat program! I played around with the 3d stuff and actually got some wild
3d surfaces... But, as you say, the program acts like it is 90% complete;
I got a guru rather quickly. Also, in case you're not aware:

- In one of the files you refer to "PI". I'm compiling with 3.30e, but
  there was no reference to PI anywhere. So I had to add it to graph.h.

- In three-d.c, your use of InitTmpRas() is wrong. You try to use it as a 
  function; but InitTmpRas does not return a value. You need to do something
  along the lines of the following:

    InitTmpRas (&tmpras, ..., ...);
    Window->RPort->Tmpras = &tmpras;

  Manx would not compile and kept on complaining about illegal type 
  conversion. Didn't it complain for anyone else?

- Finally, your use of window sizing verification causes deadlocks. For
  example, I hit the [Y=] icon to enter a command, then clicked the resize
  gadget for the main window. The program hung; seems like at that stage you
  are waiting for a command from the command window. But the command window
  is inactive, and the mouse is stuck on the resize gadget of the other
  window! 

Thanks for the posting! I'll be looking forward to further releases...

Ali Ozer, ali@navajo.stanford.edu