Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-14 11:37:10 +0000
committerStijn Buys <ingar@osirion.org>2009-08-14 11:37:10 +0000
commitbab6eff9da1927a4fc1e22d97e56199c1b677670 (patch)
tree14a06a6abd5b74c8b368b992594cb2f3133ab553 /src/core/range.h
parent69d54b593f96c0f7e525c0dff560ca0614071cf3 (diff)
model API cleanup, render WORLDSCALE
Diffstat (limited to 'src/core/range.h')
-rw-r--r--src/core/range.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/range.h b/src/core/range.h
index 5921e70..aa194bb 100644
--- a/src/core/range.h
+++ b/src/core/range.h
@@ -10,16 +10,20 @@
namespace core {
namespace range {
- /// maximal range
+ /// maximal visiblae 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,
* and the maximal range to send entity updates
*/
- const float max = 1024.0f;
+ const float maxdistance = 1024.0f;
- /// maximal visible range for controlable entities
- const float visible = 512.0f;
+ /// maximal visible range for controlable entities (world distance)
+ const float maxvisible = 512.0f;
+
+
+ /// detail/fx distance (world distance)
+ const float fxdistance = 256.0f;
}
}