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
@@ -29,9 +29,9 @@ using Footer = std::vector<std::vector<ActionType>>;
|
||||
struct CardImage
|
||||
{
|
||||
const Image* texture = nullptr;
|
||||
glm::vec2 size{};
|
||||
glm::vec2 uvMin{};
|
||||
glm::vec2 uvMax{1.0f};
|
||||
Vec2 size{};
|
||||
Vec2 uvMin{};
|
||||
Vec2 uvMax{1.0f};
|
||||
bool isValid = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user