Commit d36bf3ec authored by Jan Möbius's avatar Jan Möbius

Missing overrides

parent 7a154d6a
......@@ -119,24 +119,24 @@ public:
ACG_CLASSNAME(LineNode);
/// return available draw modes
DrawModes::DrawMode availableDrawModes() const;
DrawModes::DrawMode availableDrawModes() const override;
/// update bounding box
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax);
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax) override;
/// set depth function (needed for lasso selection so that the line can be draw in pseudo-2D)
void enter(GLState& _state, const DrawModes::DrawMode& _drawMode);
void enter(GLState& _state, const DrawModes::DrawMode& _drawMode) override;
/// draw lines and normals
void draw(GLState& _state, const DrawModes::DrawMode& _drawMode);
void draw(GLState& _state, const DrawModes::DrawMode& _drawMode) override;
void drawCompat(GLState& _state, const DrawModes::DrawMode& _drawMode);
/// reset depth function to what it was before enter()
void leave(GLState& _state, const DrawModes::DrawMode& _drawMode);
void leave(GLState& _state, const DrawModes::DrawMode& _drawMode) override;
/// Draw the line using the GL picking name stack
void pick(GLState& _state , PickTarget _target);
void pick(GLState& _state , PickTarget _target) override;
void pickCompat(GLState& _state , PickTarget _target);
/// reserve mem for _n lines
......@@ -212,7 +212,7 @@ public:
* @param _drawMode The active draw mode
* @param _mat Current material
*/
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat);
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat) override;
protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment