KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
vector.h
Go to the documentation of this file.
1/*
2 KallistiOS 2.0.0
3
4 vector.h
5 (C) 2013 Josh Pearson
6*/
7
8#ifndef VECTOR_H
9#define VECTOR_H
10
11#include <KGL/gl.h>
12
13typedef float vector3f[3];
14typedef float vector4f[4];
15
16#define DEG2RAD (F_PI / 180.0f)
17#define RAD2DEG (180.0f / F_PI)
18#define RADIAN 0.0174532925f // Convert Degrees to Radians
19#define CIRCLE 6.2831853f // RADIAN * 360.0f
20
21void VectorShift(vector3f p, vector3f c, float mag);
22
23#endif
float vector4f[4]
Definition vector.h:14
void VectorShift(vector3f p, vector3f c, float mag)
Definition vector.c:15
float vector3f[3]
Definition vector.h:13