
[Locked] Generics in opentk.math
Posted Wednesday, 1 July, 2009 - 15:09 by agadoul inHi,
I have been using openTk for quite some time now and I love it.
The integration of the math library with the opengl functions is one of the nice feature,
But I have only one problem I am always confronted with : generics.
Let me explain. I want to create a KeyFrameAnimation class, I have to create one class for each type : vector3, vector4....
where a generic will do but thanks to the lack of operators in c# generics this is impossible.
People have been working on ways to still use operators in the3ses cases :
http://www.codeproject.com/KB/cs/genericnumerics.aspx
http://www.codeproject.com/KB/cs/genericoperators.aspx
Do you think such interfaces have a chance to be included in a future release ?
thanks,
Axel.


Comments
Re: Generics in opentk.math
I'm not sure I'll get more answers than from your previous try:
http://www.opentk.com/node/979
Re: Generics in opentk.math
Please continue discussion in the aforementioned thread.
[Locked]