18 lines
199 B
C++
18 lines
199 B
C++
#pragma once
|
|
#include <glm/glm.hpp>
|
|
|
|
using namespace glm;
|
|
|
|
struct Vertex {
|
|
vec3 pos;
|
|
vec4 color;
|
|
vec3 normal;
|
|
};
|
|
|
|
struct CameraUBO {
|
|
mat4 model;
|
|
mat4 view;
|
|
mat4 proj;
|
|
float time;
|
|
};
|