mohamed_helala's picture

Math namespace Question

Project:The Open Toolkit library
Version:all versions
Category:support request
Status:closed (invalid)

i would like to ask questions regarding the core of opentk.

1- the Math nameaspace contains implementations for the matrixes and verctors used allover opentk. all these types are implemented as structures rather than classes, the question is why?. all this copying of structures that may results in a memory overhead.

2-the matrix structure of the Math nameaspace (matrix4d) implements a transformaton matrix with last row as the translation vector rather than the last column which is opposite to the conventions used in literature. so why?.

best regards


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


Status:open» closed (invalid)

Please do not double-post, your question is answered here. :)