Walls are now destroyable

This commit is contained in:
Tleety
2014-06-04 14:48:40 +02:00
parent 7b90e54899
commit 6cae09c5d8
5 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ void Model::getSimilarVertexIndex()
{
glm::vec3 tempNormal, tempTangent, tempBiTangent;
if(glm::dot(Normals[i], Normals[t]) > 0)
if(glm::dot(Normals[i], Normals[t]) > .4f)
{
tempNormal = Normals[i] + Normals[t];
tempTangent = TangentNormals[i] + TangentNormals[t];