1
This commit is contained in:
parent
0a9b10725a
commit
e73f4389e1
@ -1135,8 +1135,8 @@ void MapInstance::AdjustOnLandPoint(glm::vec3& point)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
glm::vec3 orig;
|
glm::vec3 orig = glm::vec3(point.x, 100.0f, point.z);;
|
||||||
glm::vec3 dir;
|
glm::vec3 dir = glm::vec3(0.0f, 1.0f, 0.0f);
|
||||||
const dtPoly* nearest_poly = nullptr;
|
const dtPoly* nearest_poly = nullptr;
|
||||||
float nearest_distance = 0.0f;
|
float nearest_distance = 0.0f;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user