Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ProwlEngine/Prowl.Vector/llms.txt

Use this file to discover all available pages before exploring further.

Prowl.Vector is published to NuGet.org as Prowl.Vector. It is a pure library package — no native binaries, no generated code step — so installation is a single command regardless of your target framework. The package supports net6.0, net7.0, net8.0, net9.0, net10.0, and netstandard2.1, covering everything from cross-platform standard libraries to the latest .NET releases.

Install the Package

Choose the method that fits your workflow:
dotnet add package Prowl.Vector

Supported Targets

Target FrameworkMinimum Version
.NET6.0
.NET7.0
.NET8.0
.NET9.0
.NET10.0
.NET Standard2.1
Any project that targets one of these frameworks — class libraries, console apps, ASP.NET Core services, game engines, or desktop applications — can reference Prowl.Vector without additional configuration.

Namespaces

After installing the package, add the appropriate using directives at the top of each source file:
// Core math types — vectors, matrices, quaternions, colors, noise, RNG, Maths constants,
// and geometry primitives (AABB, Sphere, Ray, Plane, Cone, Triangle, Frustum, LineSegment, Spline)
using Prowl.Vector;

// Procedural mesh and collision tools — GeometryData, GJK, Intersection …
using Prowl.Vector.Geometry;
Prowl.Vector exposes all the fundamental numeric types and geometry primitives:
  • Vector types: Double2, Double3, Double4, Float2, Float3, Float4, Int2, Int3, Int4
  • Matrix types: Double4x4, Float4x4, Double3x3, Float3x3, Double2x2, Float2x2
  • Rotation: Quaternion
  • Color: Color (float RGBA), Color32 (byte RGBA)
  • Spatial: Rect, IntRect
  • Geometry primitives: AABB, Sphere, Plane, Ray, Cone, Triangle, Frustum, LineSegment, Spline
  • Collision interface: IBoundingShape
  • Utilities: RNG, static Maths, static Noise
Prowl.Vector.Geometry exposes procedural mesh and collision tools:
  • Mesh data: GeometryData
  • Collision: GJK
  • Tests: Intersection (ray casts, overlap queries, closest-point queries)

Project Reference (Source Builds)

If you prefer to build Prowl.Vector from source — for example to apply patches, step through the debugger with full source access, or track the latest commits — clone the repository and add a <ProjectReference> in place of the NuGet <PackageReference>:
git clone https://github.com/ProwlEngine/Prowl.Vector.git
Then in your .csproj:
<ItemGroup>
  <ProjectReference Include="../Prowl.Vector/Vector/Vector.csproj" />
</ItemGroup>
Adjust the relative path to match where you cloned the repository. Visual Studio, Rider, and the dotnet CLI all support mixed solution graphs containing both NuGet-backed and project-backed references.
Prowl.Vector has no external runtime dependencies beyond the .NET Base Class Library. Once the package (or project reference) is resolved you do not need to install, copy, or ship any additional assemblies.

Build docs developers (and LLMs) love