This commit is contained in:
aozhiwei 2024-03-05 20:04:29 +08:00
parent 2eb1c62333
commit f79bea9352

View File

@ -373,7 +373,7 @@ bool MapInstance::RandPoint(const glm::vec3& center, float range, glm::vec3& out
GlmHelper::Normalize(dir);
glm::vec3 end = center + dir * (float)(rand() % (int)std::max(1.0f, range));
out_point = center;
out_point = end;
#ifdef MYDEBUG
a8::XPrintf("MapInstance::RandPoint:%f %f %f\n",
{