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.
8 lines
124 B
C++
8 lines
124 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "vec.h"
|
|
|
|
bool rects_pack(const std::vector<IVec2>&, IVec2&, std::vector<IVec2>&);
|