loryhndol / LowpolyBuildings

Implementation of Low-poly mesh generation for building models
24 stars 4 forks source link

sumOfArea logic shoud place out side of for loop. #4

Closed klxqlehua closed 1 year ago

klxqlehua commented 1 year ago
image

This several code here I think it should not write in the loop "for (int j = 0; j < faceIndexArray.size(); j++) {}", it should out side of the loop. So the right logic is as follows:

image

Please check it, thanks.