POV-Ray : Newsgroups : povray.programming : How to add a new operator? : How to add a new operator? Server Time: 4 Jul 2008 23:00:45 GMT
  How to add a new operator?  
From: Antonio Ferrari
Date: 9 Oct 2007 20:25:00
Hi,
I'de like to add a new operator mdistance to Povray. mdistance returns a DBL
and takes three mandatory arguments: an Object (as the same kind of
Parse_Inside), a VECTOR and a number (integer or float, it's almost the
same for me).

I have to modifiy express.cpp and tokenize.cpp.

Are there other files that I have to modify for letting povray recognize the
new operator?

Another question: povray use a strange system for parsing (EXPECT, etc.) ...
Is there anything documenting this?


Post a reply to this message

Copyright 1991-2004 POV-Team™