|
![](/i/fill.gif) |
> I've only spent
> about five days with c++ but I've already fallen in love with it.
yes, c++ is really cool, i can t wait for pov 4 :)
> Now, there are some specific problems I have. I need to pass a POV
> object (sphere, csg, whatever) struct, or a pointer to one, to a
> method in a class I have made, and that method should be able to call
> the insideness test of that object. Correct me if I am wrong but I
> don't think that in POV this has been implemented in a polymorphic
> way. How should I proceed?
you can use an OBJECT* and call Inside_Object :
Inside_Object (VECTOR IPoint, OBJECT *Object)
M
PS: what will do your patch ?
Post a reply to this message
|
![](/i/fill.gif) |