diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-14 11:37:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-14 11:37:10 +0000 |
commit | bab6eff9da1927a4fc1e22d97e56199c1b677670 (patch) | |
tree | 14a06a6abd5b74c8b368b992594cb2f3133ab553 /src/client/hud.cc | |
parent | 69d54b593f96c0f7e525c0dff560ca0614071cf3 (diff) |
model API cleanup, render WORLDSCALE
Diffstat (limited to 'src/client/hud.cc')
-rw-r--r-- | src/client/hud.cc | 2 |
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); |