fix TriNormal

This commit is contained in:
James E McClure 2018-09-11 20:50:13 -04:00
parent 050c5ea16c
commit 7c4e2df780

View File

@ -325,7 +325,7 @@ Point DECL::TriNormal(int edge)
else if (edge == -3){
P.x = 0.0; P.y = 0.0; P.z = 1.0; // z cube face
}
if (edge == -4){
else if (edge == -4){
P.x = -1.0; P.y = 0.0; P.z = 0.0; // x cube face
}
else if (edge == -5){