Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/draw.h')
-rw-r--r--src/render/draw.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/render/draw.h b/src/render/draw.h
index d1c7998..0bac3e2 100644
--- a/src/render/draw.h
+++ b/src/render/draw.h
@@ -8,7 +8,7 @@
#define __INCLUDED_RENDER_DRAW_H__
#include "core/gameinterface.h"
-
+#include "render/camera.h"
#include "math/axis.h"
#include "math/vector3f.h"
@@ -34,7 +34,7 @@ void reset();
void draw_sphere(const math::Color & color, float radius);
/// draw globe corona
-void draw_globe_corona(const math::Vector3f location, const math::Color & color, const float radius, const size_t corona_id);
+void draw_globe_corona(const Camera & camera, const math::Vector3f & location, const math::Color & color, const float radius, const size_t corona_id);
/// draw globe rings
void draw_globe_rings(const math::Color & color, const size_t rings_id);
@@ -51,6 +51,9 @@ void draw_model_fragments(model::Model *model,
const float enginetime, const bool detail, const bool power, const float thrust
);
+/// returns the current camera
+Camera & camera();
+
class Stats
{
public: