Skip to content

Instantly share code, notes, and snippets.

View saidm00's full-sized avatar
💭
I may be slow to respond.

saidm00

💭
I may be slow to respond.
View GitHub Profile
@saidm00
saidm00 / cquat.h
Created February 11, 2018 02:55
vector/quaternion math library
#ifndef CQUAT_H
#define CQUAT_H
#include <complex.h>
#define sqr(x) x*x
typedef struct {
float x,y;
} vec2;