Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-15 08:18:13 +0000
committerStijn Buys <ingar@osirion.org>2009-08-15 08:18:13 +0000
commit4ca453e2272beed121b957244408a61b0b0d8b9b (patch)
tree6be8e297eb49da4d957081d8faeff64d6ff35e52 /src/core
parent05928e35b08a47f5c80b7aa9a5b391a0c1d76ad5 (diff)
don't render entites behind the camera
Diffstat (limited to 'src/core')
-rw-r--r--src/core/range.h13
1 files changed, 6 insertions, 7 deletions
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;
}