Physics I guess
This commit is contained in:
@@ -18,7 +18,8 @@ typedef enum {
|
||||
|
||||
typedef enum {
|
||||
CAMERA_VIEW_TYPE_MATRIX,
|
||||
CAMERA_VIEW_TYPE_LOOKAT
|
||||
CAMERA_VIEW_TYPE_LOOKAT,
|
||||
CAMERA_VIEW_TYPE_2D
|
||||
} cameraviewtype_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -27,11 +28,17 @@ typedef struct {
|
||||
|
||||
union {
|
||||
mat4 view;
|
||||
|
||||
struct {
|
||||
float_t position[3];
|
||||
float_t target[3];
|
||||
float_t up[3];
|
||||
} lookat;
|
||||
|
||||
struct {
|
||||
float_t position[2];
|
||||
float_t zoom;
|
||||
} _2d;
|
||||
};
|
||||
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user