4 #include <msp/gl/mesh.h>
5 #include <msp/gl/renderable.h>
6 #include "libr2c2/terrain.h"
9 class TerrainTool: public Tool, public Msp::GL::Renderable
12 R2C2::Terrain &terrain;
14 R2C2::Terrain::NodeCoordinates highlight_node;
15 R2C2::Vector marker_position;
20 TerrainTool(Designer &, Msp::Input::Keyboard &, Msp::Input::Mouse &, R2C2::Terrain &);
21 virtual ~TerrainTool();
24 virtual void button_press(unsigned);
25 virtual void button_release(unsigned);
26 virtual void pointer_motion();
29 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;