OpenTK.Mathematics 4.9.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenTK.Mathematics --version 4.9.1                
NuGet\Install-Package OpenTK.Mathematics -Version 4.9.1                
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.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK.Mathematics --version 4.9.1                
#r "nuget: OpenTK.Mathematics, 4.9.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.9.1

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

OpenTK.Mathematics

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

Read more about how to use OpenTK at: https://opentk.net/

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

NuGet packages (12)

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

Package Downloads
OpenTK

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: https://opentk.net/learn/index.html Sample projects that accompany the tutorial can be found here: https://github.com/opentk/LearnOpenTK We have a very active discord server, if you need help, want to help, or are just curious, come join us! https://discord.gg/6HqD48s

OpenTK.OpenAL

OpenAL bindings for dotnet from the Khronos openAL c library.

OpenTK.Graphics

OpenGl and OpenGLES bindings for dotnet from the Khronos OpenGL C library.

OpenTK.Windowing.Common

Common functionality for OpenTK.Windowing.* packages.

OpenTK.Windowing.Desktop

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

GitHub repositories (4)

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

Repository Stars
Norbyte/lslib
Tools for manipulating Divinity Original Sin and Baldur's Gate 3 files
BAndysc/WoWDatabaseEditor
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
BoyBaykiller/IDKEngine
OpenGL Toy-"Engine" with Wavefront Path Tracer and Rasterizer with Voxel Cone Tracing/Global Illumination
ArchiDog1998/RotationSolver
Analyses combat information every frame and finds the best action.
Version Downloads Last updated
5.0.0-pre.13 2,143 11/11/2024
5.0.0-pre.12 1,927 9/25/2024
5.0.0-pre.11 1,781 8/9/2024
5.0.0-pre.10 5,663 3/7/2024
5.0.0-pre.9 4,053 10/16/2023
5.0.0-pre.8 25,923 10/28/2022
5.0.0-pre.7 9,535 4/19/2022
5.0.0-pre.6 4,777 6/16/2021
5.0.0-pre.5 535 5/29/2021
5.0.0-pre.4 463 5/22/2021
5.0.0-pre.3 8,549 3/10/2021
5.0.0-pre.2 346 3/9/2021
5.0.0-pre.1 795 3/8/2021
4.9.3 4,279 12/10/2024
4.9.2 1,394 12/10/2024
4.9.1 3,621 12/2/2024
4.8.2 266,268 12/2/2023
4.8.1 38,030 9/27/2023
4.8.0 37,686 7/17/2023
4.7.7 854,657 2/23/2023
4.7.6 7,310 2/22/2023
4.7.5 644,060 9/8/2022
4.7.4 66,643 6/17/2022
4.7.3 7,392 6/17/2022
4.7.2 1,221,208 5/3/2022
4.7.1 34,837 2/17/2022
4.7.0 7,257 2/16/2022
4.6.7 77,509 9/13/2021
4.6.6 6,679 9/13/2021
4.6.5 6,569 9/13/2021
4.6.4 76,297 5/28/2021
4.6.3 21,658 3/27/2021
4.6.2 8,722 3/19/2021
4.6.1 8,289 3/19/2021
4.6.0 9,285 3/18/2021
4.5.0 115,818 2/14/2021
4.4.0 30,042 12/16/2020
4.3.0 104,437 11/21/2020
4.2.0 8,061 11/12/2020
4.1.0 9,492 11/6/2020
4.0.6 12,899 10/18/2020
4.0.5 7,271 10/18/2020
4.0.4 7,538 10/17/2020
4.0.3 7,566 10/14/2020
4.0.2 9,332 10/11/2020
4.0.1 9,798 10/6/2020
4.0.0 15,577 10/2/2020
4.0.0-pre9.10 489 10/1/2020
4.0.0-pre9.9 413 9/30/2020
4.0.0-pre9.8 376 9/29/2020
4.0.0-pre9.7 822 9/20/2020
4.0.0-pre9.6 569 9/14/2020
4.0.0-pre9.5 372 9/14/2020
4.0.0-pre9.4 1,300 8/30/2020

BREAKING: Made `NativeWindow` able to run on Wayland (when running on Wayland `NativeWindow` will default to Wayland, use `OPENTK_4_USE_WAYLAND=0` or set the X11 glfw hint to use X11/Xwayland). (@NogginBops)
BREAKING: Change type of `NativeWindow.CurrentMonitor` property from `MonitorHandle` to `MonitorInfo`. (@NogginBops)
BREAKING: Changed EGL bindings to `DllImport` `libEGL` instead of `libEGL.dll` (shouldn't be breaking in most cases). (@NogginBops)
BREAKING: Removed leftover module references to `libGLESv2.dll` (and `opengl32.dll` and `GLESv1_CM`) in `OpenTK.Graphics.dll` which was causing build errors in `net8.0-macos` projects. (these references are never used by OpenTK so they shoudn't be there, this might break something in very specific circumstances)(@NogginBops)
BREAKING: `MathHelper.Lerp` no longer clamps `t` to `[0, 1]` range. (@NogginBops)
API: Upgrade to GLFW 3.4. (@NogginBops)
API: Updated OpenGL bindings to contain the latest definitions without breaking `4.8.2` compatibility (this includes OpenGLES 3.1 and 3.2). (@NogginBops)
API: Add `NativeWindow.MakeFullscreen` method to more seamlessly transition a window to fullscreen. (@NogginBops)
API: Deprecate `Matrix4(d).ExtractProjection`. (@NogginBops)
API: Added `Matrix4(d).ExtractPerspectiveOffCenter/ExtractPerspectiveFieldOfView` to extract projection matrix parameters from perspective projections. (@NogginBops)
API: Added `Matrix4(d).ExtractOrthographicOffCenter/ExtractOrthographic` to extract projection matrix parameters from orthographic projections. (@NogginBops)
API: Add matrix swizzle functions `Matrix2/3/4(d).Swizzle/Swizzled/CreateSwizzle`. (@NogginBops)
API: Added `MouseCursor.PointingHand/ResizeEW/ResizeNS/ResizeNWSE/ResizeNESW/ResizeAll/NotAllowed` standard mouse cursors. (@NogginBops)
API: Added `VectorN.Slerp` (spherical interpolation) and `VectorN.Elerp` (exponential interpolation) functions. (@NogginBops)
API: Added `NativeWindow.AlwaysOnTop` property to set if a window should always be visible. (@NogginBops)
API: Added `NativeWindow.MousePassthrough` property to set if the window should be transparent to mouse interactions. (@NogginBops)
API: Added `CusorState.Confined` to be able to confine the mouse cursor to the window content area. (@NogginBops)
API: Implemented `Matrix3(d).Column1/2/3`, `Matrix4x3(d).Column1/2/3` and ``Matrix3x4(d).Column1/2/3/4` property setters. (@NogginBops)
API: Make `NativeWindow` throw explicit `InvalidOperationException` or `OutOfMemoryException` if `glfwCreateWindow` fails. (@NogginBops)
API: Added a few missing constants to the EGL bindings. (@NogginBops)
API: Deprecate `NativeWindow.CurrentMonitor` property setter. (@NogginBops)
API: Implemented `Matrix2/3/4(d).Transposed/Inverted` for matrix types that where missing them. (@NogginBops)
API: Deprecate `Matrix4d.Scale/RotateX/RotateY/RotateZ/Rotate/Frustum/Perspective`use the `Create*` functions instead. (@NogginBops)
API: Deprecate `EffectSlotInteger.AuxiliarySendAuto` in favor of `EffectSlotBoolean.AuxiliarySendAuto`. (@NogginBops)
FIX: Fix wglDXCloseDeviceNV argument name, from `dxDevice` to `hDecvice`. (@NogginBops)
FIX: All assemblies are now signed. (@RFBomb, @NogginBops)
FIX: Fixed nuget package metadata. (@NogginBops)
FIX: `OpenTK.Graphics` now contains proper debug info, the code is still generated but might improve debug experience. (@NogginBops)
FIX: Fix issue where `NativeWindowSettings.StartVisible=false` with `NativeWindowSettings.StartFocused=true` would create a visible window. (@NogginBops)
FIX: Updated links in README to link to the website tutorial. (@NogginBops)
FIX: Added basic README to nuget packages. (@NogginBops)
FIX: Fix GLFW calling convention when on 32-bit windows, this was causing a StackOverflowException. (@NogginBops)
FIX: Improved a bunch of OpenAL documentation. (@NogginBops)