More photons.

This commit is contained in:
2017-03-16 17:05:28 -04:00
parent 811e0a0602
commit ab9a160cf4
2 changed files with 21 additions and 9 deletions

View File

@@ -21,6 +21,10 @@ struct Vec3
Vec3(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f): x(_x), y(_y), z(_z) { }
Vec3(const Vec3 & other) = default;
glm::vec3 toVec3() {
return glm::vec3(x, y, z);
}
inline bool equalFloat(const float x, const float y)
{