This commit is contained in:
aozhiwei 2023-01-11 16:41:44 +08:00
parent 3dd8c03183
commit 4d32e1cc9b

View File

@ -434,7 +434,7 @@ bool MapInstance::Raycast(int layer, const glm::vec3& start, const glm::vec3& en
float h = 0; float h = 0;
bool ok = false; bool ok = false;
Scale(dir); //Scale(dir);
for (int ii = npolys - 1; ii >= 0; --ii) { for (int ii = npolys - 1; ii >= 0; --ii) {
auto ret = navmesh_query_->getPolyHeight(polys_[ii], hit_pos_copy, &h); auto ret = navmesh_query_->getPolyHeight(polys_[ii], hit_pos_copy, &h);