POV-Ray Insert Menu
mady by Christoph Hormann
http://www.imagico.de/

inside

top previous next

// inside function tests if a certain point  
// is inside a specified object

#declare Obj = sphere { 01 }
#declare Point = <0.60.50.6>;

// if point is inside the object:
#if ( inside(Obj, Point) )
 //...
#end