Refresh 1

This commit is contained in:
n64 committed 2019-09-01 15:50:50 -04:00
1 parent c6102eb802
commit 1ef98ec785
475 files changed
+100280 -97252

No files matched your search

+8 -4
View File
@@ -325,16 +325,20 @@ static struct Surface *read_surface_data(s16 *vertexData, s16 **vertexIndices) {
// Could have used min_3 and max_3 for this...
minY = y1;
if (y2 < minY)
if (y2 < minY) {
minY = y2;
if (y3 < minY)
}
if (y3 < minY) {
minY = y3;
}
maxY = y1;
if (y2 > maxY)
if (y2 > maxY) {
maxY = y2;
if (y3 > maxY)
}
if (y3 > maxY) {
maxY = y3;
}
// Checking to make sure no DIV/0
if (mag < 0.0001) {