Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/hud.cc')
-rw-r--r--src/client/hud.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/hud.cc b/src/client/hud.cc
index 3d32d3a..102c445 100644
--- a/src/client/hud.cc
+++ b/src/client/hud.cc
@@ -117,7 +117,7 @@ void HUD::draw_target(core::Entity *entity, bool is_active_target)
target = render::Camera::axis().transpose() * target;
// calculate the intersection between the line (0,0,0)-target and the frustum front
- float t = (render::Camera::frustum_front() + 0.001f) / target.x;
+ float t = (render::FRUSTUMFRONT + 0.001f) / target.x;
Vector3f center(target *t);
float cx = render::State::width() * (0.5 - center.y);