is it THAT difficult to check that? (what I read recently, using
typeid(Sphere)==typeid(*b->shape) might be faster than dynamic_cast).
Where "sphere" is a pointer to an existing Sphere?
"typeid" replaces getCLassIndex?
Ah, no... it must be the class "Sphere" itself obviously?
Is there really nothing like classIndex now? Just curious.
B.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp