Skip to content

Commit

Permalink
renderRadar already call renderShadow
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Apr 17, 2024
1 parent de25c99 commit 02d200c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions src/geometry/MeshRenderNode.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,6 @@ void OpaqueRenderNode::render()
}


void OpaqueRenderNode::renderRadar()
{
glPushMatrix();
glMultMatrixf(xformMatrix);
drawMgr->executeSetGeometry(lod, set);
glPopMatrix();

addTriangleCount(triangles);

return;
}


void OpaqueRenderNode::renderShadow()
{
glPushMatrix();
Expand Down
1 change: 0 additions & 1 deletion src/geometry/MeshRenderNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class OpaqueRenderNode : public RenderNode
const GLfloat* color, int lod, int set,
const Extents* exts, int triangles);
void render() override;
void renderRadar() override;
void renderShadow() override;
const GLfloat* getPosition() const override;
private:
Expand Down

0 comments on commit 02d200c

Please sign in to comment.