33 lines
608 B
C++
33 lines
608 B
C++
#pragma once
|
|
|
|
#define GLM_ENABLE_EXPERIMENTAL
|
|
|
|
#include <string>
|
|
#include <glm/glm.hpp>
|
|
#include <glm/gtx/quaternion.hpp>
|
|
|
|
typedef unsigned char u8;
|
|
typedef unsigned short u16;
|
|
typedef unsigned int u32;
|
|
typedef unsigned long long u64;
|
|
|
|
typedef char s8;
|
|
typedef short s16;
|
|
typedef int s32;
|
|
typedef long long s64;
|
|
|
|
typedef s32 b32;
|
|
|
|
typedef float f32;
|
|
typedef double f64;
|
|
|
|
typedef std::string string;
|
|
|
|
#define array_count(array) (sizeof(array) / sizeof((array)[0]))
|
|
|
|
using Vector2 = glm::vec2;
|
|
using Vector3 = glm::vec3;
|
|
using Matrix4 = glm::mat4;
|
|
using Quaternion = glm::quat;
|
|
|