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 994 1/21/2024
0.2.0 1,364 1/1/2024
0.1.16 963 12/26/2023
0.1.15 1,170 12/21/2023
0.1.14 1,260 12/14/2023
0.1.13 391 12/14/2023
0.1.12 352 12/12/2023
0.1.11 356 12/12/2023
0.1.10 350 12/11/2023
0.1.9 357 12/11/2023
0.1.8 345 12/10/2023
0.1.7 371 12/7/2023
0.1.6 343 12/6/2023
0.1.5 355 12/4/2023
0.1.4 386 12/3/2023
0.1.3 391 12/1/2023
0.1.2 354 12/1/2023
0.1.1 341 12/1/2023
0.1.0 408 12/1/2023

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