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
13
typedef
float
vector3f
[3];
14
typedef
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
21
void
VectorShift
(
vector3f
p,
vector3f
c,
float
mag);
22
23
#endif
vector4f
float vector4f[4]
Definition
vector.h:14
VectorShift
void VectorShift(vector3f p, vector3f c, float mag)
Definition
vector.c:15
vector3f
float vector3f[3]
Definition
vector.h:13
examples
dreamcast
kgl
demos
specular
vector.h
Generated by
1.12.0