Blame |
Last modification |
View Log
| RSS feed
#ifndef _VECTOR_H_
#define _VECTOR_H_
typedef struct vector
{
float x, y, z;
} vector;
extern void vector_cross(const vector *a, const vector *b, vector *out);
extern float vector_dot(const vector *a, const vector *b);
extern void vector_normalize(vector *a);
extern float vector_magnitude(const vector *a);
#endif