Replace glm with vec.h
Vec2, IVec2, Vec3, Vec4, IVec4 and a column-major Mat4, with glm's formulas, in one header. Free functions are vec_ and mat4_ prefixed. The leaked using namespace glm is gone. Render goldens still match.
This commit is contained in:
1 parent
c38a3a9890
commit
03bbb93ba6
79 files changed
+1232
-810
No files matched your search
+3
-3
@@ -16,7 +16,7 @@
|
||||
#include "snapshots.h"
|
||||
#include "localization.h"
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include "vec.h"
|
||||
|
||||
#include "shader.h"
|
||||
|
||||
@@ -63,8 +63,8 @@ struct DocumentData
|
||||
int changeAllFramePropertiesShaderId = -1;
|
||||
|
||||
float previewZoom = 200;
|
||||
glm::vec2 previewPan{};
|
||||
glm::vec2 editorPan{};
|
||||
Vec2 previewPan{};
|
||||
Vec2 editorPan{};
|
||||
float editorZoom = 200;
|
||||
int overlayIndex = -1;
|
||||
uint64_t overlayDocumentId = 0;
|
||||
|
||||
Reference in new issue
Block a user