Skip to content

Commit

Permalink
DirectX12 Smooth Normals
Browse files Browse the repository at this point in the history
  • Loading branch information
moonwho101 committed Jul 12, 2024
1 parent 2499e0f commit ae351d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProcessModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ void SmoothNormals(int start_cnt) {
//}
}

if (scount > 0) {
if (scount > 1) {
sum = XMVectorSet(0, 0, 0, 0);
sumtan = XMVectorSet(0, 0, 0, 0);

Expand Down

0 comments on commit ae351d7

Please sign in to comment.