Magma.Maths 1.0.1

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Magma.Maths --version 1.0.1
NuGet\Install-Package Magma.Maths -Version 1.0.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="Magma.Maths" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Magma.Maths --version 1.0.1
#r "nuget: Magma.Maths, 1.0.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 Magma.Maths as a Cake Addin
#addin nuget:?package=Magma.Maths&version=1.0.1

// Install Magma.Maths as a Cake Tool
#tool nuget:?package=Magma.Maths&version=1.0.1

Magma.Maths

This is a maths library that is meant to be used in conjunction with the Magma.OpenGL and Magma.Vulkan assemblies.

Example Code:

using System;
using Magma.Maths;

namespace Sandbox
{
    class Program
    {
        static void Main(string[] args)
        {
            Matrix4f transform = Matrix4f.Translation(new Vector3f(1.0f, 1.0f, 1.0f))
                                        .Rotate(45.0f.ToRadians(), new Vector3f(1.0f, 0.0f, 0.0f))
                                        .Scale(new Vector3f(1.0f, 1.5f, 1.0f));

            float det = transform.Determinant();

            Vector3f vec = new Vector3f(100.0f, 2.0f, -93.4f);
            vec.Normalize();

            Console.WriteLine(transform.ToString());
            Console.WriteLine(det);
            Console.WriteLine(vec.ToString());
        }
    }
}

Output:

[1.000, 0.000, 0.000, 0.000]
[0.000, 1.061, 1.061, 0.000]
[0.000, -0.707, 0.707, 0.000]
[1.000, 1.000, 1.000, 1.000]

1.4999999
[0.731, 0.015, -0.683]
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated