mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
oops, const not declared properly
This commit is contained in:
parent
cb8d73f25c
commit
501ee98985
@ -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++)
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user