giawa / opengl4csharp

OpenGL 4 Bindings (partially based on OpenTK) for C#
Other
232 stars 61 forks source link

Fix TakeMin and TakeMax #43

Closed TheAIBot closed 4 years ago

TheAIBot commented 4 years ago

Vector3.TakeMin/TakeMax didn't work when using System.numerics because the extension methods only worked on a copy of the vector. Fixed by taking a reference to the vector instead of a copy.