mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
fixed normal calculation
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ namespace vb01{
|
||||
float biTanZ = atof(vertEl->Attribute("bz"));
|
||||
Vector3 biTan = Vector3(biTanX, biTanY, biTanZ);
|
||||
|
||||
normals[i] = tan.cross(biTan);
|
||||
normals[i] = biTan.cross(tan);
|
||||
|
||||
MeshData::Vertex vertex;
|
||||
vertex.pos = &vertPos[id];
|
||||
|
||||
Reference in New Issue
Block a user