Increase view radius, remove radius parameter from get_tangibles_near

This commit is contained in:
2026-06-08 14:58:44 -04:00
parent 536abb2231
commit fa7dcdcb0d
7 changed files with 14 additions and 14 deletions

View File

@@ -112,8 +112,8 @@ class World : public eng::opnew {
public:
using IdVector = util::IdVector;
using TanVector = eng::vector<const Tangible*>;
const float RadiusVisibility = 1000.0;
const float RadiusClose = 1000.0;
const float RadiusVisibility = 100000.0;
const float RadiusClose = 5000.0;
// Constructor.
//
@@ -157,7 +157,7 @@ public:
// returned pointer remains valid until the next call to
// get_tangibles_near.
//
void get_tangibles_near(uint64_t tanid, double rx, double ry, double rz, uint32_t *count, int64_t **ids);
void get_tangibles_near(uint64_t tanid, uint32_t *count, int64_t **ids);
// Get the animation queues for the specified tangibles.
//