
Matrix3 / Matrix2
Posted Tuesday, 8 June, 2010 - 09:34 by iliak| Project: | The Open Toolkit library |
| Version: | all versions |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | open |
Jump to:
Description
There's Matrix4 but no Matrix3 (ie : this is useful for NormalMatrix and GLSL mat3)


Comments
#1
Seconded. Also, Matrix2 is missing which would be really useful for Vector2 rotation / scaling transformations. While it is possible to do that using Quaternions or Matrix4, it will certainly be faster to use Vector2.Transform( .. ) with a Matrix2.
#2
I do not think I will be able to handle this in the near future but if someone wishes to help, please do!
A Matrix3 implementation already exists (disabled) under Source/OpenTK/Math. It will need some work to bring it in line with Matrix4, but it would be a good place to start.