1
This commit is contained in:
parent
2eb1c62333
commit
f79bea9352
@ -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",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user