Working version for linux

This commit is contained in:
jancoow
2016-06-20 20:00:58 +02:00
parent f84fcfa4e2
commit 030a136e8b
11 changed files with 36 additions and 24 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
#include "HeightMap.h"
#include "stb_image.h"
#include "vector.h"
#include "Vector.h"
#include "LevelObject.h"
@@ -127,6 +127,7 @@ float HeightMap::GetHeight(float x, float y)
float labda3 = 1 - labda1 - labda2;
Vertex z = a * labda1 + b * labda2 + c * labda3;
// Vertex z = (a * labda1) + (b * labda2) ;
return z.y;
}