oops, const not declared properly

This commit is contained in:
David Rose 2001-08-21 21:56:26 +00:00
parent cb8d73f25c
commit 501ee98985
2 changed files with 8 additions and 5 deletions

View File

@ -266,8 +266,8 @@ prepare_blind(const float &angle, const float &tnear)
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void LensFlareNode:: void LensFlareNode::
render_child(RenderRelation *arc, render_child(RenderRelation *arc, const AllTransitionsWrapper &trans,
AllTransitionsWrapper &trans, GraphicsStateGuardian *gsg) GraphicsStateGuardian *gsg)
{ {
AllTransitionsWrapper new_trans(trans); AllTransitionsWrapper new_trans(trans);
@ -290,7 +290,8 @@ render_child(RenderRelation *arc,
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void LensFlareNode:: void LensFlareNode::
render_children(const vector_relation &arcs, render_children(const vector_relation &arcs,
AllTransitionsWrapper &trans, GraphicsStateGuardian *gsg) const AllTransitionsWrapper &trans,
GraphicsStateGuardian *gsg)
{ {
for(int i = 0; i < (int)arcs.size(); i++) for(int i = 0; i < (int)arcs.size(); i++)
{ {

View File

@ -98,9 +98,11 @@ private:
void render_child(RenderRelation *arc, void render_child(RenderRelation *arc,
AllTransitionsWrapper &trans, GraphicsStateGuardian *gsg); const AllTransitionsWrapper &trans,
GraphicsStateGuardian *gsg);
void render_children(const vector_relation &arcs, void render_children(const vector_relation &arcs,
AllTransitionsWrapper &trans, GraphicsStateGuardian *gsg); const AllTransitionsWrapper &trans,
GraphicsStateGuardian *gsg);
public: public:
static void register_with_read_factory(); static void register_with_read_factory();