Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

ninijo

💭
I may be slow to respond.
View GitHub Profile
@ninijo
ninijo / cquat.h
Created Feb 11, 2018
vector/quaternion math library
View cquat.h
#ifndef CQUAT_H
#define CQUAT_H
#include <complex.h>
#define sqr(x) x*x
typedef struct {
float x,y;
} vec2;
You can’t perform that action at this time.