VOOZH about

URL: https://www.nuget.org/packages/Hexa.NET.Math/

⇱ NuGet Gallery | Hexa.NET.Math 2.0.8




👁 Image
Hexa.NET.Math 2.0.8

Prefix Reserved
dotnet add package Hexa.NET.Math --version 2.0.8
 
 
NuGet\Install-Package Hexa.NET.Math -Version 2.0.8
 
 
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="Hexa.NET.Math" Version="2.0.8" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hexa.NET.Math" Version="2.0.8" />
 
Directory.Packages.props
<PackageReference Include="Hexa.NET.Math" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hexa.NET.Math --version 2.0.8
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hexa.NET.Math, 2.0.8"
 
 
#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.
#:package Hexa.NET.Math@2.0.8
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Hexa.NET.Math&version=2.0.8
 
Install as a Cake Addin
#tool nuget:?package=Hexa.NET.Math&version=2.0.8
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

HexaEngine Math Library

The Math library for HexaEngine provides comprehensive mathematical functions and utilities, optimized for performance and accuracy. Available in both minimal and full versions, this library is designed to be versatile and can be used with HexaEngine or any other project.

Features

Optimized Math Functions

  • SIMD Optimized Math Functions: High-performance functions for vectors, matrices, quaternions, and more.
  • Double Precision Math Functions: For applications requiring high precision.

Geometric Calculations

  • Frustum, Plane, Ray, Sphere, Box, and AABB Math: Essential geometric operations for 3D applications.

Noise Functions

  • Generic Noise
  • Perlin Noise
  • Simplex Noise

Polynomial and Bezier Functions

  • Polynomial Functions: For advanced mathematical calculations.
  • Bezier Functions: For curve and surface modeling.

Extensions and Utilities

  • Vector Math Extensions: Additional operations for vector math.
  • Sky Model Functions: Implementations of Preetham and Hosek-Wilkie sky models.
  • Color Math Functions: Including RGBA, HSVA, and HSLA color models.
  • Prime Number Functions and Caching: Efficient prime number generation and caching.

Shadow Mapping (Full Version Only)

  • Shadow Mapping Functions: Support for OSM, PSM, DPSM, and CSM techniques.

Transform Class (Full Version Only)

  • Transform Class: Comprehensive class for managing object transformations.

Getting Started

To get started with the HexaEngine Math library, follow these steps:

  1. Install the NuGet package:

    dotnet add package Hexa.NET.Math
    

    Full version X.X.X-full vs minimal verions X.X.X-minimal, make sure to enable allow pre-releases in Visual Studio to see them.

  2. Include the library in your project:

    using Hexa.NET.Mathematics;
    
  3. Utilize the math functions:

    MathUtil.XXX();
    
  4. Perform geometric calculations:

    var sphere = new BoundingSphere(new Vector3(0, 0, 0), 1.0f);
    var box = new BoundingBox(new Vector3(-1, -1, -1), new Vector3(1, 1, 1));
    
  5. Generate noise:

    var noiseValue = PerlinNoise.Noise(0.5f, 0.5f, 0.5f);
    
  6. Work with colors:

    var color = Color.FromRGBA(0xFFAABBCC);
    

Minimal vs Full Version

  • Minimal Version: Contains essential math functions and utilities.
  • Full Version: Includes additional features such as shadow mapping functions and the Transform class.

Contributions

Contributions are welcome! If you have ideas for new features or improvements, feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the file for more details.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Hexa.NET.Math:

Package Downloads
Hexa.NET.KittyUI

A Cross-Platform UI-Framework build upon ImGui, simplifying ImGui management in C#.

Hexa.NET.ImGui.Widgets.Extras

Hexa.NET.ImGui.Widgets is a comprehensive library of custom widgets for the ImGui graphical user interface library. This package includes a variety of pre-built widgets that enhance the functionality and usability of ImGui in your .NET applications. Each widget is designed to be easy to integrate, with consistent styling and behavior. This library is an extension of the Hexa.NET.ImGui wrapper, providing additional UI components for a seamless user experience.

HexaEngine.Core

HexaEngine.Core is the core module of the HexaEngine game engine. It provides the fundamental systems required for building high-performance, cross-platform 3D games and tools. This library implements low-level runtime features such as resource management, rendering interfaces, input handling, math utilities, scripting integration, and engine infrastructure.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Hexa.NET.Math:

Repository Stars
HexaEngine/Hexa.NET.ImGui
A .NET wrapper for the Dear ImGui.
HexaEngine/HexaEngine
The official repo of the HexaEngine game engine
Version Downloads Last Updated
2.0.8 161 3/8/2026
2.0.7 135 3/8/2026
2.0.6 2,082 2/9/2025
2.0.6-minimal 165 2/9/2025
2.0.5 193 2/5/2025
2.0.5-minimal 180 2/5/2025
2.0.4 198 2/1/2025
2.0.4-minimal 180 2/1/2025
2.0.3 1,095 11/13/2024
2.0.3-minimal 170 11/13/2024
2.0.2 535 10/8/2024
2.0.2-minimal 183 10/8/2024
2.0.1 514 7/26/2024
2.0.1-minimal 153 7/26/2024
2.0.1-full 179 7/26/2024
2.0.0-minimal 250 7/25/2024
2.0.0-full 179 7/25/2024
1.0.0-minimal 159 7/25/2024
1.0.0-full 201 7/25/2024