Create linear algebra module
This commit is contained in:
1 parent
74f15dd132
commit
f546f27a42
5 files changed
+165
-144
No files matched your search
@@ -1,23 +1,13 @@
|
||||
#ifndef GPU_H
|
||||
#define GPU_H
|
||||
|
||||
#include "linear_alg.h"
|
||||
|
||||
#define GLFW_INCLUDE_VULKAN
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#define SWAPCHAIN_IMG_BUFFER_SIZE 4
|
||||
|
||||
typedef struct {
|
||||
float x, y, z;
|
||||
} vec3_t;
|
||||
|
||||
typedef struct {
|
||||
float x, y, z, w;
|
||||
} vec4_t;
|
||||
|
||||
typedef struct {
|
||||
vec4_t x, y, z, w;
|
||||
} mat4_t;
|
||||
|
||||
typedef struct {
|
||||
vec3_t position;
|
||||
vec3_t colour;
|
||||
|
||||
Reference in new issue
Block a user