SkillAgentSearch skills...

Dvector

Portable, single-file, 2D/3D vector/quaternion/matrix math library

Install / Use

/learn @BareRose/Dvector
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Documentation

This is a header-only library, as such most of its functional documentation is contained within the "header section" of the source code in the form of comments. It is highly recommended that you read said documentation before using this library.

Features

The dvector library provides both common and more specialized 2D/3D vector math operations, its features include:

  • No hard dependencies besides the standard library, making it fully portable for most purposes
  • Provides vec2, vec3, vec4, quat, mat2, mat3, and mat4 types with various important operations
  • Supports an additional frst type along with frustum culling functions for spheres and AABBs
  • All dvector types are pass-by-value, allowing for easy use as arguments or return values

Attribution

You are not required to give attribution when using this library. If you want to give attribution anyway, either link to this repository, my website, or credit me as BareRose. If you want to support me financially, consider giving to my Patreon.

License

Licensed under CC0 aka the most lawyer-friendly way of spelling "public domain".

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated13d ago
Forks2

Languages

C

Security Score

90/100

Audited on Mar 18, 2026

No findings