Replies: 1 comment
-
OpenTK math predates
OpenTK 4 doesn't bind OpenGL functions using System.Numerics as the bindings generator hard to work with. OpenTK 5 will use both OpenTK math and System.Numerics. If you could open an issue detailing some of the missing math functions I'd be happy to implement them. |
Beta Was this translation helpful? Give feedback.
-
I noticed that the build-in vector/matrix types don't support SIMD. Also some minor features are missing, like matrix/quaternion lerp for example. That is all included in the System.Numerics namesspace, and the byte layout of theses structs are exactly the same as the build-in ones. So why we don't just use the System.Numerics? I use it in my current project with OpenTk and its works nicely, but i always have to use "Unsafe.As" the whole time. What are (besides the work that it takes) the downsides of this approach?
Beta Was this translation helpful? Give feedback.
All reactions