aboutsummaryrefslogtreecommitdiff
path: root/extension/src/MapMesh.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-07 12:40:59 +0200
committer Hop311 <hop3114@gmail.com>2023-04-07 12:40:59 +0200
commit0b13a13037860cfec6644f34c2f22cd62e933d1e (patch)
treed5b8f2c6801e9a33084c1ba23d78c7fa4ff17e7c /extension/src/MapMesh.cpp
parent513a1328edb89ac695c70164158933aee4546cd7 (diff)
Fixes (prov selection, index unnorming, mac print)
Diffstat (limited to 'extension/src/MapMesh.cpp')
-rw-r--r--extension/src/MapMesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/MapMesh.cpp b/extension/src/MapMesh.cpp
index cdbeec9..f0fc819 100644
--- a/extension/src/MapMesh.cpp
+++ b/extension/src/MapMesh.cpp
@@ -74,7 +74,7 @@ AABB MapMesh::get_core_aabb() const {
}
bool MapMesh::is_valid_uv_coord(godot::Vector2 const& uv) const {
- return -repeat_proportion <= uv.x && uv.x <= 1.0f + repeat_proportion && 0.0f <= uv.y && uv.y <= 1.0f;
+ return 0.0f <= uv.y && uv.y <= 1.0f;
}
Array MapMesh::_create_mesh_array() const {