Skip to content

hxrain/bsc_vec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic vector utilities v. 01

What is this?

This is a small and simple library for basic vector operation, hence the inventive name of basic vector utilities

It implements 2d, 3d and 4d vector and matrix types, alongside with quaternions. Most of the functions can be found in bvu_impl/funct_mat.h, bvu_impl/funct_vec.h and bvu_impl/funct_quat.h, and hopefully are pretty self-explanatory. Besides standard norms, inverses and transposes, it also has implementations of useful glu functions.

This code is in public domain. I'd appreciate contribution, but none is required. This project has been written for educational purposes, and because I wanted to have my own library for vectors and matrices. It is heavily inspired by glm in terms of overall api design.

The current version of the library is very far from being thoroughly tested and most likely contains many bugs. Feel free to contact me with any comments or suggestions for improvement.

Usage

This is header only library, so just add the location where bvu.h and bvu_impl folder is to your include path. To build the tests + benchmark in bvu_test you need to install glm. This has only been tested on MacOS X 10.10.

About

A lightweight vector-math library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.6%
  • Makefile 0.4%