This content has been marked as final. Show 2 replies
Use a structure with a class ID field and then a switch statement on the class ID field and call a different function in each case.
Thanks for your reply,
It is a good idea, but how do I pass a 'dynamic' list of 'generic' values ?
By example, each sub class of 'fresnel' has its own set of parameters ?