Hi,

Say I have a Gl1_A functor for shapeA.
I derive shapeB : shapeA.

The rendering dispatch will be able to display shape B without the need of implementing a Gl1_B, that is very convenient in most cases (for instance, currently, Aabb functor for cylinders works with ChainedCylinders as well).

But what if I want to force a different functor for B? I just tried deriving Gl1_B : Gl1_A, but it seems Gl1_A will always be used to display B, witout looking down the inheritance tree. Is there a simple workaround?

Bruno


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to