diff --git a/src/celengine/render.cpp b/src/celengine/render.cpp index 12ca0ac13d..cc6e06cb10 100644 --- a/src/celengine/render.cpp +++ b/src/celengine/render.cpp @@ -1483,14 +1483,6 @@ void Renderer::render(const Observer& observer, const Universe& universe, float faintestMagNight, const Selection& sel) -{ - draw(observer, universe, faintestMagNight, sel); -} - -void Renderer::draw(const Observer& observer, - const Universe& universe, - float faintestMagNight, - const Selection& sel) { // Get the observer's time double now = observer.getTime(); diff --git a/src/celengine/render.h b/src/celengine/render.h index f01605e615..5b77abd8d4 100644 --- a/src/celengine/render.h +++ b/src/celengine/render.h @@ -135,10 +135,6 @@ class Renderer const Universe&, float faintestVisible, const Selection& sel); - void draw(const Observer&, - const Universe&, - float faintestVisible, - const Selection& sel); bool getInfo(std::map& info) const; diff --git a/src/celengine/simulation.cpp b/src/celengine/simulation.cpp index d53a445b14..b307eb44ec 100644 --- a/src/celengine/simulation.cpp +++ b/src/celengine/simulation.cpp @@ -51,14 +51,6 @@ void Simulation::render(Renderer& renderer) selection); } -void Simulation::draw(Renderer& renderer) -{ - renderer.draw(*activeObserver, - *universe, - faintestVisible, - selection); -} - void Simulation::render(Renderer& renderer, Observer& observer) { diff --git a/src/celengine/simulation.h b/src/celengine/simulation.h index 0e9e96561d..47cc2f9734 100644 --- a/src/celengine/simulation.h +++ b/src/celengine/simulation.h @@ -45,7 +45,6 @@ class Simulation void update(double dt); void render(Renderer&); - void draw(Renderer&); void render(Renderer&, Observer&); Selection pickObject(const Eigen::Vector3f& pickRay, std::uint64_t renderFlags, float tolerance = 0.0f);