BardCore 0.2.1

dotnet add package BardCore --version 0.2.1                
NuGet\Install-Package BardCore -Version 0.2.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="BardCore" Version="0.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BardCore --version 0.2.1                
#r "nuget: BardCore, 0.2.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 BardCore as a Cake Addin
#addin nuget:?package=BardCore&version=0.2.1

// Install BardCore as a Cake Tool
#tool nuget:?package=BardCore&version=0.2.1                

nuget-downloads issues

nuget nuget-github

Bardcore


build-and-test

C++ 14/17/20 compatible [^flag]

Bardcore is a simple 3D mathematics library that is primarily designed for use in raytracing applications. It includes vectors, points, quaternion rotation and some useful math functions.

The goal is to provide a simple, easy to use library that is fast and efficient. One of the future ideas is to make an opengl wrapper around it.

I've tried to make everything constexpr where possible, so that the compiler can do as much work as possible at compile time.

Please refer to the wiki for more information.

[^flag]: In order to use the c++ 14/17/20 you have to use the /Zc:__cplusplus flag, it's automatically included (.target) but it might not be compatible with other packages, keep that in mind.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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
0.2.1 1,036 1/21/2024
0.2.0 1,398 1/1/2024
0.1.16 986 12/26/2023
0.1.15 1,195 12/21/2023
0.1.14 1,285 12/14/2023
0.1.13 415 12/14/2023
0.1.12 373 12/12/2023
0.1.11 380 12/12/2023
0.1.10 373 12/11/2023
0.1.9 376 12/11/2023
0.1.8 377 12/10/2023
0.1.7 397 12/7/2023
0.1.6 367 12/6/2023
0.1.5 378 12/4/2023
0.1.4 410 12/3/2023
0.1.3 415 12/1/2023
0.1.2 376 12/1/2023
0.1.1 364 12/1/2023 0.1.1 is deprecated because it has critical bugs.
0.1.0 434 12/1/2023 0.1.0 is deprecated because it has critical bugs.

added negative operator and abs for 3d/4d 11/01/24  added correct constexpr inf check 15/01/24  added sqrt(2) sqrt(3) to math 18/01/24  refraction added 18/01/24  added opposite operator overloading e.g n - 3d, n / 3d 18/01/24  added rotate depreciation to quaternion, use rotate_degrees/rotate_radians now 18/01/24  added pragma once instead of the ifndefs 19/01/24  added arcsin. arccos, arctan constexpr 19/01/24