From 4ca453e2272beed121b957244408a61b0b0d8b9b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 15 Aug 2009 08:18:13 +0000 Subject: don't render entites behind the camera --- src/core/range.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/core') diff --git a/src/core/range.h b/src/core/range.h index aa194bb..d530f0b 100644 --- a/src/core/range.h +++ b/src/core/range.h @@ -9,19 +9,18 @@ namespace core { +/** + * @brief range and scale constants + */ namespace range { - /// maximal visiblae range (world distance) + /// maximal visible range (world distance) /** This is the distance of the frustum far plane, - * the maximal distance at which non-controlable entities can be drawn. - * the maximal radar range for controlable entities, + * the maximal distance at which entities can be drawn. + * the maximal radar range * and the maximal range to send entity updates */ const float maxdistance = 1024.0f; - /// maximal visible range for controlable entities (world distance) - const float maxvisible = 512.0f; - - /// detail/fx distance (world distance) const float fxdistance = 256.0f; } -- cgit v1.2.3