mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
fix warning about signed/unsigned comparison
This commit is contained in:
parent
2ba05f2cb8
commit
16a5af1a8e
1 changed files with 1 additions and 1 deletions
|
@ -2161,7 +2161,7 @@ void Application::updateShadowMap() {
|
|||
rotation * (glm::mix(_viewFrustum.getNearBottomLeft(), _viewFrustum.getFarBottomLeft(), farScale) + translation),
|
||||
rotation * (glm::mix(_viewFrustum.getNearBottomRight(), _viewFrustum.getFarBottomRight(), farScale) + translation) };
|
||||
glm::vec3 minima(FLT_MAX, FLT_MAX, FLT_MAX), maxima(-FLT_MAX, -FLT_MAX, -FLT_MAX);
|
||||
for (int i = 0; i < sizeof(points) / sizeof(points[0]); i++) {
|
||||
for (size_t i = 0; i < sizeof(points) / sizeof(points[0]); i++) {
|
||||
minima = glm::min(minima, points[i]);
|
||||
maxima = glm::max(maxima, points[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue