Sort box corners correctly
This commit is contained in:
parent
86c0b27c33
commit
e63df5ce80
@ -306,6 +306,7 @@ aabb3f read_aabb3f(lua_State *L, int index, f32 scale)
|
|||||||
box.MaxEdge.Z = lua_tonumber(L, -1) * scale;
|
box.MaxEdge.Z = lua_tonumber(L, -1) * scale;
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
|
box.repair();
|
||||||
return box;
|
return box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user