OpenTK.Mathematics 4.7.0

A basic mathematics library developed primarily for rendering in 3d and 2d.

Showing the top 20 packages that depend on OpenTK.Mathematics.

Packages Downloads
OpenTK.Audio.OpenAL
OpenAL bindings for dotnet from the Khronos openAL c library.
14
OpenTK.Audio.OpenAL
OpenAL bindings for dotnet from the Khronos OpenAL C library.
15
OpenTK.Graphics
GLes11, GLes20, GLes30, GL2, and GL4 bindings for dotnet from the Khronos openGL c library.
13
OpenTK.Graphics
GLes11, GLes20, GLes30, GL2, and GL4 bindings for dotnet from the Khronos openGL c library.
14
OpenTK.Graphics
OpenGl and OpenGLES bindings for dotnet from the Khronos OpenGL C library.
14
OpenTK.Windowing.Common
Common functionality for OpenTK.Windowing.* packages.
13
OpenTK.Windowing.Common
Common functionality for OpenTK.Windowing.* packages.
14

BREAKING: Simplifications to the Monitors api, hopefully it's easier to work with now. Old functions are marked [Obsolete] with directions for equivalent operations with the new API. (@NogginBops) BREAKING: Changed Span<T> to ReadOnlySpan<T> in OpenAL bindings where appropriate. (@NogginBops) API: Add more information to MonitorInfo such as human-readable names and supported video modes. (@NogginBops, @utkumaden) API: Added component-wise division operators for vector types (@NogginBops, @wildniklin) API: Added missing One and Zero static readonly fields to Vector3i (@NogginBops, @wildniklin) API: Implemented AL_SOFT_loop_points OpenAL extension. (@NogginBops) Passing ContextAPI.NoAPI in NativeWindowSettings.ContextAPI will not create an OpenGL context. This allows you to use NativeWindow to create a vulkan context, see #1334. (@arakis, @NogginBops) Added warning to documentation that ClientSize will not be guaranteed to have updated values in the OnMaximized and OnMinimized callbacks. (@NogginBops, @wo80) Updated to GLFW 3.3.5. (@NogginBops) FIX: Fix invalid IL generation for some edge case GL ES functions, AOT compiling OpenTK now works correctly!! (@NogginBops, thanks @jkotas for helping me understand the issue) FIX: Fix Box3 documentation referencing 2D concepts. (@CaiB) FIX: Fixed MathHelper.MapRange so that it no longer always throws division by zero exceptions. (@jdmisek) FIX: Fixed OnUnload so that it's acutally called in all cases when closing the window. (@NogginBops, @adfcf) FIX: Wrap all callbacks in exception handlers that will then rethrow these exceptions at the end of NativeWindow.ProcessEvents() so that exceptions don't unwind into native calls which is a problem on non-windows platforms. (@NogginBops, @PJB3005) FIX: Fix NativeWindow.IsExiting and NativeWindow.Exists so that they actually contain correct values. (@NogginBops) FIX: Fix Box2d.Translate and Box2i.Translate, this fix also fixes setting the Box2d.Center and Box2i.Center properties. (@NogginBops, @yts233) FIX: Made JoystickCallback still work when multiple windows are used. (@TheBlubb14) FIX: The MonitorCallback no longer gets garbage collected and crashes the program when called. (@NogginBops, @) Deprecated the Closed event and then OnClosed virtual method, they where never called and now we explicitly say so. (@NogginBops) Deprecated NativeWindowSettings.IsFullscreen, use NativeWindowSettings.WindowState instead. (@NogginBops) Deprecated NativeWindowSettings.IsMultiThreaded, Render/Update split isn't a great idea then multithreading and users can easily spin up an "update" thread themselves. (@NogginBops)

.NET Standard 2.1

.NET Core 3.1

Version Downloads Last updated
5.0.0-pre.15 4 16.09.2025
5.0.0-pre.14 5 05.08.2025
5.0.0-pre.13 14 03.02.2025
5.0.0-pre.12 12 16.02.2025
5.0.0-pre.11 13 16.02.2025
5.0.0-pre.10 11 18.02.2025
5.0.0-pre.9 13 19.02.2025
5.0.0-pre.8 11 18.02.2025
5.0.0-pre.7 12 16.02.2025
5.0.0-pre.6 12 05.02.2025
5.0.0-pre.5 12 05.02.2025
5.0.0-pre.4 12 05.02.2025
5.0.0-pre.3 13 16.02.2025
5.0.0-pre.2 12 16.02.2025
5.0.0-pre.1 12 18.02.2025
4.9.4 10 27.03.2025
4.9.3 11 19.02.2025
4.9.2 12 16.02.2025
4.9.1 12 18.02.2025
4.8.2 13 04.02.2025
4.8.1 13 18.02.2025
4.8.0 12 19.02.2025
4.7.7 13 16.02.2025
4.7.6 11 15.02.2025
4.7.5 13 18.02.2025
4.7.4 12 18.02.2025
4.7.3 13 15.02.2025
4.7.2 12 11.02.2025
4.7.1 12 15.02.2025
4.7.0 13 05.02.2025
4.6.7 12 18.02.2025
4.6.6 13 16.02.2025
4.6.5 13 18.02.2025
4.6.4 12 10.02.2025
4.6.3 12 18.02.2025
4.6.2 13 16.02.2025
4.6.1 14 15.02.2025
4.6.0 12 10.02.2025
4.5.0 12 12.02.2025
4.4.0 12 18.02.2025
4.3.0 13 04.02.2025
4.2.0 12 19.02.2025
4.1.0 12 19.02.2025
4.0.6 12 18.02.2025
4.0.5 12 19.02.2025
4.0.4 13 20.02.2025
4.0.3 12 19.02.2025
4.0.2 12 05.02.2025
4.0.1 12 18.02.2025
4.0.0 12 16.02.2025
4.0.0-pre9.10 13 11.02.2025
4.0.0-pre9.9 12 16.02.2025
4.0.0-pre9.8 13 17.02.2025
4.0.0-pre9.7 13 17.02.2025
4.0.0-pre9.6 12 16.02.2025
4.0.0-pre9.5 12 18.02.2025
4.0.0-pre9.4 11 04.02.2025