
No OpenTK equivalent to Glu.PickMatrix()
Posted Friday, 6 May, 2011 - 16:14 by ERP| Project: | The Open Toolkit library |
| Version: | all versions |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | open |
Jump to:
Description
Library reports that Glu.XXX functions are deprecated and we should use the OpenTK.XXX equivalents.
There is no OpenTK.XXX equivalent for Glu.PickMatrix.


Comments
#1
Glu.PickMatrix() modifies the matrix stack, which means it cannot be added to OpenTK as-is (the math library cannot use GL calls directly).
Fortunately, the source code for this function is very simple:
#2
I don't have a problem with it not being as-is.
I was assuming it would be implemented along the lines of the existing OpenTK.LookAt/OpenTK.Perspective.