Browse Source

only use xyzw coordinates in glm structures

main
cinnaboot 4 years ago
parent
commit
0d683ee5da
  1. 1
      src/game.h
  2. 1
      src/main.cpp

1
src/game.h

@ -1,5 +1,6 @@
#pragma once
#define GLM_FORCE_XYZW_ONLY
#include <glm/glm.hpp>
using glm::vec3;
using glm::dvec3;

1
src/main.cpp

@ -24,6 +24,7 @@
#include <cmath>
#include <SDL2/SDL.h>
#define GLM_FORCE_XYZW_ONLY
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>

Loading…
Cancel
Save