OpenTK.Mathematics 4.7.5

.NET Core 3.1 .NET Standard 2.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OpenTK.Mathematics --version 4.7.5
NuGet\Install-Package OpenTK.Mathematics -Version 4.7.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTK.Mathematics" Version="4.7.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK.Mathematics --version 4.7.5
#r "nuget: OpenTK.Mathematics, 4.7.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenTK.Mathematics as a Cake Addin
#addin nuget:?package=OpenTK.Mathematics&version=4.7.5

// Install OpenTK.Mathematics as a Cake Tool
#tool nuget:?package=OpenTK.Mathematics&version=4.7.5

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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on OpenTK.Mathematics:

Package Downloads

The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES, OpenAL and OpenCL. It runs on all major platforms and powers hundreds of apps, games and scientific research. It provides bindings for GLFW windowing, input and a game loop, and is the perfect start for your own game engine. OpenTK comes with simple and easy to follow tutorials for learning *modern* OpenGL. These are written by the community and represent all of the best practices to get you started. Learn how to use OpenTK here: Sample projects that accompany the tutorial can be found here: We have a very active discord server, if you need help, want to help, or are just curious, come join us!


OpenAL bindings for dotnet from the Khronos openAL c library.


OpenGl and OpenGlEs bindings for dotnet from the Khronos openGL c library.


Common functionality for OpenTK.Windowing.* packages.


An abstraction over OpenTK.GraphicsLibraryFramework to provide a ready-to-go easy-to-use windowing and input abstraction.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on OpenTK.Mathematics:

Repository Stars
Integrated development environment (IDE), an editor for Smart Scripts (SAI/smart_scripts) for TrinityCore based servers. Cmangos support work in progress. Featuring a 3D view built with OpenGL and custom ECS framework
Version Downloads Last updated
5.0.0-pre.8 1,630 10/28/2022
5.0.0-pre.7 6,221 4/19/2022
5.0.0-pre.6 4,261 6/16/2021
5.0.0-pre.5 380 5/29/2021
5.0.0-pre.4 314 5/22/2021
5.0.0-pre.3 6,018 3/10/2021
5.0.0-pre.2 200 3/9/2021
5.0.0-pre.1 496 3/8/2021
4.7.5 139,794 9/8/2022
4.7.4 21,472 6/17/2022
4.7.3 1,161 6/17/2022
4.7.2 197,438 5/3/2022
4.7.1 18,909 2/17/2022
4.7.0 1,051 2/16/2022
4.6.7 35,687 9/13/2021
4.6.6 777 9/13/2021
4.6.5 766 9/13/2021
4.6.4 30,026 5/28/2021
4.6.3 14,486 3/27/2021
4.6.2 2,363 3/19/2021
4.6.1 1,798 3/19/2021
4.6.0 1,883 3/18/2021
4.5.0 99,104 2/14/2021
4.4.0 17,851 12/16/2020
4.3.0 18,511 11/21/2020
4.2.0 2,846 11/12/2020
4.1.0 2,556 11/6/2020
4.0.6 5,003 10/18/2020
4.0.5 1,077 10/18/2020
4.0.4 1,073 10/17/2020
4.0.3 1,383 10/14/2020
4.0.2 2,925 10/11/2020
4.0.1 3,331 10/6/2020
4.0.0 5,176 10/2/2020
4.0.0-pre9.10 312 10/1/2020
4.0.0-pre9.9 282 9/30/2020
4.0.0-pre9.8 234 9/29/2020
4.0.0-pre9.7 686 9/20/2020
4.0.0-pre9.6 421 9/14/2020
4.0.0-pre9.5 241 9/14/2020
4.0.0-pre9.4 1,094 8/30/2020

BREAKING: Removed the `ALTest` class from the OpenAL namespace. This was an internal test class that was accidentally included in the package. (@NogginBops)
API: Deprecated `Box.Contains` function in favor of `Box.ContainsInclusive` and `Box.ContainsExclusive` to explicitly state if the box boundary sould be considered contained. (@NogginBops, @Oribow)
API: Exposed EGL bindings to match the WGL bindings. (@NogginBops)
API: `Box2`, `Box2d`, `Box2i`, `Box3`, `Box3d`, and `Box3i` now support XML serialization. (@NogginBops)
API: Added `ProgramBinaryLength` to the `GetProgramParameterName` enum. (@NogginBops)
FIX: `MathHelper.ClampAngle` and `MathHelper.ClampRadians` now return correct results. (@FlashX64)
FIX: `MathHelper.NormalizeRadians` now return correct results. (@FlashX64)
FIX: OpenAL now correctly loads on FreeBSD. (@Partmedia)
Clarify in the readme that running on Windows requires "Visual C++ Redistributable 2015" (@NogginBops)
Update to GLFW 3.3.8 (@NogginBops)