aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/scenri.h
blob: 93b3f16c626d75cc5edeb2912a06aff7d00d22eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef _SCENRI_H_
#define _SCENRI_H_

#include "love.h"

typedef struct _cameraMove
{
    float	x, y, z;
    float	r, s, p;	// Roll, spin (not yaw coz y is used already), and pitch.
    float	jump;
    float	JumpSpeed, RotateSpeed, MoveSpeed;
} cameraMove;

typedef struct _vec4
{
    float   x;
    float   y;
    float   z;
    float   w;
} vec4;

typedef struct _vec3
{
    float   x;
    float   y;
    float   z;
} vec3;

typedef struct _vec2
{
    float   x;
    float   y;
} vec2;

typedef struct _vertex
{
    vec3    position;
    vec3    normal;
    vec3    tangent;
    vec4    color;
    vec3    texcoord;
} vertex;


#endif