Skip to content

Hexa3333/hxc-vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HXC Vector Library

HXC Vector is a simple header only inline c vector library for mathematics, relying only on standart c math.

Suffix 'r' for functions that return values. Suffix 's' for working with a vector and scalar value.

Examples:
vec2f_add(vec2f* destination, vec2f a, vec2f b); // writes the resulting vector to destination
vec2f_addr(vec2f a, vec2f b); // returns the resulting vector
vec3i_mulr(vec3i a, vec3i b);
vec3i_mulrs(vec3i a, int b);

Features

About

Header Only C Library for Vector Mathematics

Resources

Stars

Watchers

Forks

Releases

No releases published