Skip to content

Commit 38d46bd

Browse files
committed
minor fixes with published methods
1 parent 71fec58 commit 38d46bd

File tree

9 files changed

+16
-3
lines changed

9 files changed

+16
-3
lines changed

panda/src/particlesystem/geomParticleRenderer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class EXPCL_PANDAPHYSICS GeomParticleRenderer : public BaseParticleRenderer {
5555
INLINE float get_initial_z_scale() const;
5656
INLINE float get_final_z_scale() const;
5757

58+
public:
5859
virtual BaseParticleRenderer *make_copy();
5960

6061
virtual void output(ostream &out) const;

panda/src/particlesystem/lineParticleRenderer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ class EXPCL_PANDAPHYSICS LineParticleRenderer : public BaseParticleRenderer {
4040

4141
virtual ~LineParticleRenderer();
4242

43+
public:
4344
virtual BaseParticleRenderer *make_copy();
4445

46+
PUBLISHED:
4547
INLINE void set_head_color(const Colorf& c);
4648
INLINE void set_tail_color(const Colorf& c);
4749

panda/src/particlesystem/pointParticleRenderer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ class EXPCL_PANDAPHYSICS PointParticleRenderer : public BaseParticleRenderer {
5151

5252
virtual ~PointParticleRenderer();
5353

54+
public:
5455
virtual BaseParticleRenderer *make_copy();
5556

57+
PUBLISHED:
5658
INLINE void set_point_size(float point_size);
5759
INLINE void set_start_color(const Colorf& sc);
5860
INLINE void set_end_color(const Colorf& ec);

panda/src/particlesystem/sparkleParticleRenderer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ class EXPCL_PANDAPHYSICS SparkleParticleRenderer : public BaseParticleRenderer {
5151

5252
virtual ~SparkleParticleRenderer();
5353

54+
public:
5455
virtual BaseParticleRenderer *make_copy();
5556

57+
PUBLISHED:
5658
INLINE void set_center_color(const Colorf& c);
5759
INLINE void set_edge_color(const Colorf& c);
5860
INLINE void set_birth_radius(float radius);

panda/src/particlesystem/spriteParticleRenderer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ class EXPCL_PANDAPHYSICS SpriteParticleRenderer : public BaseParticleRenderer {
164164
SpriteParticleRenderer(const SpriteParticleRenderer &copy);
165165
virtual ~SpriteParticleRenderer();
166166

167+
public:
167168
virtual BaseParticleRenderer *make_copy();
168169

170+
PUBLISHED:
169171
void set_from_node(const NodePath &node_path, bool size_from_texels = false);
170172
void set_from_node(const NodePath &node_path, const string &model, const string &node, bool size_from_texels = false);
171173
void add_from_node(const NodePath &node_path, bool size_from_texels = false, bool resize = false);

panda/src/pgui/pgMouseWatcherBackground.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class EXPCL_PANDA_PGUI PGMouseWatcherBackground : public MouseWatcherRegion {
3131
PGMouseWatcherBackground();
3232
virtual ~PGMouseWatcherBackground();
3333

34+
public:
3435
virtual void press(const MouseWatcherParameter &param);
3536
virtual void release(const MouseWatcherParameter &param);
3637
virtual void keystroke(const MouseWatcherParameter &param);

panda/src/physics/angularIntegrator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class EXPCL_PANDAPHYSICS AngularIntegrator : public BaseIntegrator {
3232

3333
void integrate(Physical *physical, AngularForceVector &forces,
3434
float dt);
35-
35+
36+
PUBLISHED:
3637
virtual void output(ostream &out) const;
3738
virtual void write(ostream &out, unsigned int indent=0) const;
3839

panda/src/physics/baseIntegrator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ class EXPCL_PANDAPHYSICS BaseIntegrator : public ReferenceCount {
4040
typedef pvector<PT(AngularForce)> AngularForceVector;
4141

4242
virtual ~BaseIntegrator();
43-
43+
44+
PUBLISHED:
4445
virtual void output(ostream &out) const;
4546
virtual void write_precomputed_linear_matrices(ostream &out,
4647
unsigned int indent=0) const;

panda/src/physics/linearIntegrator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class EXPCL_PANDAPHYSICS LinearIntegrator : public BaseIntegrator {
3333

3434
void integrate(Physical *physical, LinearForceVector &forces,
3535
float dt);
36-
36+
37+
PUBLISHED:
3738
virtual void output(ostream &out) const;
3839
virtual void write(ostream &out, unsigned int indent=0) const;
3940

0 commit comments

Comments
 (0)