Started sketching the photon mapping.

This commit is contained in:
2017-02-21 17:00:49 -04:00
parent 4e9a30d0b5
commit 2efb8b33d4
5 changed files with 226 additions and 5 deletions

View File

@@ -17,9 +17,7 @@ struct Vec3
float y;
float z;
Vec3() {
x = y = z = 0.0f;
}
Vec3(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f): x(_x), y(_y), z(_z) { }
inline bool equalFloat(const float x, const float y)
{