mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
Mark constructors 'explicit' for which coercion makes no sense
This commit is contained in:
parent
dc1f5dd3b1
commit
dd2806c8bd
@ -62,7 +62,7 @@ PUBLISHED:
|
|||||||
// This function is used to enable or disable the guides for path finding.
|
// This function is used to enable or disable the guides for path finding.
|
||||||
void set_pf_guide(bool pf_guide);
|
void set_pf_guide(bool pf_guide);
|
||||||
|
|
||||||
AICharacter(string model_name, NodePath model_np, double mass, double movt_force, double max_force);
|
explicit AICharacter(string model_name, NodePath model_np, double mass, double movt_force, double max_force);
|
||||||
~AICharacter();
|
~AICharacter();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ public:
|
|||||||
AINode *_next;
|
AINode *_next;
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
AINode(int grid_x, int grid_y, LVecBase3 pos, float w, float l, float h);
|
explicit AINode(int grid_x, int grid_y, LVecBase3 pos, float w, float l, float h);
|
||||||
~AINode();
|
~AINode();
|
||||||
|
|
||||||
bool contains(float x, float y);
|
bool contains(float x, float y);
|
||||||
|
@ -44,7 +44,7 @@ public:
|
|||||||
AICharList _ai_char_list;
|
AICharList _ai_char_list;
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
Flock(unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt = 2,
|
explicit Flock(unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt = 2,
|
||||||
unsigned int cohesion_wt = 4, unsigned int alignment_wt = 1);
|
unsigned int cohesion_wt = 4, unsigned int alignment_wt = 1);
|
||||||
~Flock();
|
~Flock();
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@ class SocketStream;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CConnectionRepository {
|
class EXPCL_DIRECT CConnectionRepository {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CConnectionRepository(bool has_owner_view = false,
|
explicit CConnectionRepository(bool has_owner_view = false,
|
||||||
bool threaded_net = false);
|
bool threaded_net = false);
|
||||||
~CConnectionRepository();
|
~CConnectionRepository();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CConstrainHprInterval : public CConstraintInterval {
|
class EXPCL_DIRECT CConstrainHprInterval : public CConstraintInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CConstrainHprInterval(const string &name, double duration,
|
explicit CConstrainHprInterval(const string &name, double duration,
|
||||||
const NodePath &node, const NodePath &target,
|
const NodePath &node, const NodePath &target,
|
||||||
bool wrt, const LVecBase3 hprOffset=LVector3::zero());
|
bool wrt, const LVecBase3 hprOffset=LVector3::zero());
|
||||||
|
|
||||||
INLINE const NodePath &get_node() const;
|
INLINE const NodePath &get_node() const;
|
||||||
INLINE const NodePath &get_target() const;
|
INLINE const NodePath &get_target() const;
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CConstrainPosHprInterval : public CConstraintInterval {
|
class EXPCL_DIRECT CConstrainPosHprInterval : public CConstraintInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CConstrainPosHprInterval(const string &name, double duration,
|
explicit CConstrainPosHprInterval(const string &name, double duration,
|
||||||
const NodePath &node, const NodePath &target,
|
const NodePath &node, const NodePath &target,
|
||||||
bool wrt, const LVecBase3 posOffset=LVector3::zero(),
|
bool wrt, const LVecBase3 posOffset=LVector3::zero(),
|
||||||
const LVecBase3 hprOffset=LVector3::zero());
|
const LVecBase3 hprOffset=LVector3::zero());
|
||||||
|
|
||||||
INLINE const NodePath &get_node() const;
|
INLINE const NodePath &get_node() const;
|
||||||
INLINE const NodePath &get_target() const;
|
INLINE const NodePath &get_target() const;
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CConstrainPosInterval : public CConstraintInterval {
|
class EXPCL_DIRECT CConstrainPosInterval : public CConstraintInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CConstrainPosInterval(const string &name, double duration,
|
explicit CConstrainPosInterval(const string &name, double duration,
|
||||||
const NodePath &node, const NodePath &target,
|
const NodePath &node, const NodePath &target,
|
||||||
bool wrt, const LVecBase3 posOffset=LVector3::zero());
|
bool wrt, const LVecBase3 posOffset=LVector3::zero());
|
||||||
|
|
||||||
INLINE const NodePath &get_node() const;
|
INLINE const NodePath &get_node() const;
|
||||||
INLINE const NodePath &get_target() const;
|
INLINE const NodePath &get_target() const;
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CConstrainTransformInterval : public CConstraintInterval {
|
class EXPCL_DIRECT CConstrainTransformInterval : public CConstraintInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CConstrainTransformInterval(const string &name, double duration,
|
explicit CConstrainTransformInterval(const string &name, double duration,
|
||||||
const NodePath &node, const NodePath &target,
|
const NodePath &node,
|
||||||
bool wrt);
|
const NodePath &target, bool wrt);
|
||||||
|
|
||||||
INLINE const NodePath &get_node() const;
|
INLINE const NodePath &get_node() const;
|
||||||
INLINE const NodePath &get_target() const;
|
INLINE const NodePath &get_target() const;
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CLerpAnimEffectInterval : public CLerpInterval {
|
class EXPCL_DIRECT CLerpAnimEffectInterval : public CLerpInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CLerpAnimEffectInterval(const string &name, double duration,
|
INLINE explicit CLerpAnimEffectInterval(const string &name, double duration,
|
||||||
BlendType blend_type);
|
BlendType blend_type);
|
||||||
|
|
||||||
INLINE void add_control(AnimControl *control, const string &name,
|
INLINE void add_control(AnimControl *control, const string &name,
|
||||||
float begin_effect, float end_effect);
|
float begin_effect, float end_effect);
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CLerpNodePathInterval : public CLerpInterval {
|
class EXPCL_DIRECT CLerpNodePathInterval : public CLerpInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CLerpNodePathInterval(const string &name, double duration,
|
explicit CLerpNodePathInterval(const string &name, double duration,
|
||||||
BlendType blend_type, bool bake_in_start,
|
BlendType blend_type, bool bake_in_start,
|
||||||
bool fluid,
|
bool fluid,
|
||||||
const NodePath &node, const NodePath &other);
|
const NodePath &node, const NodePath &other);
|
||||||
|
|
||||||
INLINE const NodePath &get_node() const;
|
INLINE const NodePath &get_node() const;
|
||||||
INLINE const NodePath &get_other() const;
|
INLINE const NodePath &get_other() const;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT CMetaInterval : public CInterval {
|
class EXPCL_DIRECT CMetaInterval : public CInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CMetaInterval(const string &name);
|
explicit CMetaInterval(const string &name);
|
||||||
virtual ~CMetaInterval();
|
virtual ~CMetaInterval();
|
||||||
|
|
||||||
enum RelativeStart {
|
enum RelativeStart {
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT HideInterval : public CInterval {
|
class EXPCL_DIRECT HideInterval : public CInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
HideInterval(const NodePath &node, const string &name = string());
|
explicit HideInterval(const NodePath &node, const string &name = string());
|
||||||
|
|
||||||
virtual void priv_instant();
|
virtual void priv_instant();
|
||||||
virtual void priv_reverse_instant();
|
virtual void priv_reverse_instant();
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT ShowInterval : public CInterval {
|
class EXPCL_DIRECT ShowInterval : public CInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
ShowInterval(const NodePath &node, const string &name = string());
|
explicit ShowInterval(const NodePath &node, const string &name = string());
|
||||||
|
|
||||||
virtual void priv_instant();
|
virtual void priv_instant();
|
||||||
virtual void priv_reverse_instant();
|
virtual void priv_reverse_instant();
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_DIRECT WaitInterval : public CInterval {
|
class EXPCL_DIRECT WaitInterval : public CInterval {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE WaitInterval(double duration);
|
INLINE explicit WaitInterval(double duration);
|
||||||
|
|
||||||
virtual void priv_step(double t);
|
virtual void priv_step(double t);
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
class EXPCL_DTOOL IFileStream : public istream {
|
class EXPCL_DTOOL IFileStream : public istream {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE IFileStream();
|
INLINE IFileStream();
|
||||||
INLINE IFileStream(const char *filename, ios::openmode mode = ios::in);
|
INLINE explicit IFileStream(const char *filename, ios::openmode mode = ios::in);
|
||||||
INLINE ~IFileStream();
|
INLINE ~IFileStream();
|
||||||
|
|
||||||
INLINE void open(const char *filename, ios::openmode mode = ios::in);
|
INLINE void open(const char *filename, ios::openmode mode = ios::in);
|
||||||
@ -57,7 +57,7 @@ private:
|
|||||||
class EXPCL_DTOOL OFileStream : public ostream {
|
class EXPCL_DTOOL OFileStream : public ostream {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE OFileStream();
|
INLINE OFileStream();
|
||||||
INLINE OFileStream(const char *filename, ios::openmode mode = ios::out);
|
INLINE explicit OFileStream(const char *filename, ios::openmode mode = ios::out);
|
||||||
INLINE ~OFileStream();
|
INLINE ~OFileStream();
|
||||||
|
|
||||||
INLINE void open(const char *filename, ios::openmode mode = ios::out);
|
INLINE void open(const char *filename, ios::openmode mode = ios::out);
|
||||||
@ -86,7 +86,7 @@ private:
|
|||||||
class EXPCL_DTOOL FileStream : public iostream {
|
class EXPCL_DTOOL FileStream : public iostream {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE FileStream();
|
INLINE FileStream();
|
||||||
INLINE FileStream(const char *filename, ios::openmode mode = ios::in);
|
INLINE explicit FileStream(const char *filename, ios::openmode mode = ios::in);
|
||||||
INLINE ~FileStream();
|
INLINE ~FileStream();
|
||||||
|
|
||||||
INLINE void open(const char *filename, ios::openmode mode = ios::in);
|
INLINE void open(const char *filename, ios::openmode mode = ios::in);
|
||||||
|
@ -35,7 +35,7 @@ protected:
|
|||||||
const string &description, int flags);
|
const string &description, int flags);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE ConfigVariable(const string &name);
|
INLINE explicit ConfigVariable(const string &name);
|
||||||
INLINE ~ConfigVariable();
|
INLINE ~ConfigVariable();
|
||||||
|
|
||||||
INLINE const string &get_string_value() const;
|
INLINE const string &get_string_value() const;
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
class EXPCL_DTOOLCONFIG IDecryptStream : public istream {
|
class EXPCL_DTOOLCONFIG IDecryptStream : public istream {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE IDecryptStream();
|
INLINE IDecryptStream();
|
||||||
INLINE IDecryptStream(istream *source, bool owns_source,
|
INLINE explicit IDecryptStream(istream *source, bool owns_source,
|
||||||
const string &password);
|
const string &password);
|
||||||
|
|
||||||
#if _MSC_VER >= 1800
|
#if _MSC_VER >= 1800
|
||||||
INLINE IDecryptStream(const IDecryptStream ©) = delete;
|
INLINE IDecryptStream(const IDecryptStream ©) = delete;
|
||||||
@ -69,8 +69,8 @@ private:
|
|||||||
class EXPCL_DTOOLCONFIG OEncryptStream : public ostream {
|
class EXPCL_DTOOLCONFIG OEncryptStream : public ostream {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE OEncryptStream();
|
INLINE OEncryptStream();
|
||||||
INLINE OEncryptStream(ostream *dest, bool owns_dest,
|
INLINE explicit OEncryptStream(ostream *dest, bool owns_dest,
|
||||||
const string &password);
|
const string &password);
|
||||||
|
|
||||||
#if _MSC_VER >= 1800
|
#if _MSC_VER >= 1800
|
||||||
INLINE OEncryptStream(const OEncryptStream ©) = delete;
|
INLINE OEncryptStream(const OEncryptStream ©) = delete;
|
||||||
|
@ -28,7 +28,7 @@ class EXPCL_DTOOLCONFIG StreamReader {
|
|||||||
public:
|
public:
|
||||||
INLINE StreamReader(istream &in);
|
INLINE StreamReader(istream &in);
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE StreamReader(istream *in, bool owns_stream);
|
INLINE explicit StreamReader(istream *in, bool owns_stream);
|
||||||
INLINE StreamReader(const StreamReader ©);
|
INLINE StreamReader(const StreamReader ©);
|
||||||
INLINE void operator = (const StreamReader ©);
|
INLINE void operator = (const StreamReader ©);
|
||||||
INLINE ~StreamReader();
|
INLINE ~StreamReader();
|
||||||
|
@ -52,7 +52,7 @@ class EXPCL_DTOOLCONFIG IStreamWrapper : virtual public StreamWrapperBase {
|
|||||||
public:
|
public:
|
||||||
INLINE IStreamWrapper(istream *stream, bool owns_pointer);
|
INLINE IStreamWrapper(istream *stream, bool owns_pointer);
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE IStreamWrapper(istream &stream);
|
INLINE explicit IStreamWrapper(istream &stream);
|
||||||
~IStreamWrapper();
|
~IStreamWrapper();
|
||||||
|
|
||||||
INLINE istream *get_istream() const;
|
INLINE istream *get_istream() const;
|
||||||
@ -79,7 +79,7 @@ class EXPCL_DTOOLCONFIG OStreamWrapper : virtual public StreamWrapperBase {
|
|||||||
public:
|
public:
|
||||||
INLINE OStreamWrapper(ostream *stream, bool owns_pointer, bool stringstream_hack = false);
|
INLINE OStreamWrapper(ostream *stream, bool owns_pointer, bool stringstream_hack = false);
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE OStreamWrapper(ostream &stream);
|
INLINE explicit OStreamWrapper(ostream &stream);
|
||||||
~OStreamWrapper();
|
~OStreamWrapper();
|
||||||
|
|
||||||
INLINE ostream *get_ostream() const;
|
INLINE ostream *get_ostream() const;
|
||||||
@ -115,7 +115,7 @@ class EXPCL_DTOOLCONFIG StreamWrapper : public IStreamWrapper, public OStreamWra
|
|||||||
public:
|
public:
|
||||||
INLINE StreamWrapper(iostream *stream, bool owns_pointer, bool stringstream_hack = false);
|
INLINE StreamWrapper(iostream *stream, bool owns_pointer, bool stringstream_hack = false);
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE StreamWrapper(iostream &stream);
|
INLINE explicit StreamWrapper(iostream &stream);
|
||||||
~StreamWrapper();
|
~StreamWrapper();
|
||||||
|
|
||||||
INLINE iostream *get_iostream() const;
|
INLINE iostream *get_iostream() const;
|
||||||
|
@ -30,7 +30,7 @@ class EXPCL_DTOOLCONFIG StreamWriter {
|
|||||||
public:
|
public:
|
||||||
INLINE StreamWriter(ostream &out);
|
INLINE StreamWriter(ostream &out);
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE StreamWriter(ostream *out, bool owns_stream);
|
INLINE explicit StreamWriter(ostream *out, bool owns_stream);
|
||||||
INLINE StreamWriter(const StreamWriter ©);
|
INLINE StreamWriter(const StreamWriter ©);
|
||||||
INLINE void operator = (const StreamWriter ©);
|
INLINE void operator = (const StreamWriter ©);
|
||||||
INLINE ~StreamWriter();
|
INLINE ~StreamWriter();
|
||||||
|
@ -32,8 +32,9 @@ public:
|
|||||||
ALLOC_DELETED_CHAIN(AudioLoadRequest);
|
ALLOC_DELETED_CHAIN(AudioLoadRequest);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE AudioLoadRequest(AudioManager *audio_manager, const string &filename,
|
INLINE explicit AudioLoadRequest(AudioManager *audio_manager,
|
||||||
bool positional);
|
const string &filename,
|
||||||
|
bool positional);
|
||||||
|
|
||||||
INLINE AudioManager *get_audio_manager() const;
|
INLINE AudioManager *get_audio_manager() const;
|
||||||
INLINE const string &get_filename() const;
|
INLINE const string &get_filename() const;
|
||||||
|
@ -27,9 +27,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletBaseCharacterControllerNode : public PandaNode {
|
class EXPCL_PANDABULLET BulletBaseCharacterControllerNode : public PandaNode {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletBaseCharacterControllerNode(const char *name="character");
|
explicit BulletBaseCharacterControllerNode(const char *name="character");
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual CollideMask get_legal_collide_mask() const;
|
virtual CollideMask get_legal_collide_mask() const;
|
||||||
|
@ -32,7 +32,7 @@ private:
|
|||||||
INLINE BulletBoxShape() : _shape(NULL) {};
|
INLINE BulletBoxShape() : _shape(NULL) {};
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletBoxShape(const LVecBase3 &halfExtents);
|
explicit BulletBoxShape(const LVecBase3 &halfExtents);
|
||||||
INLINE BulletBoxShape(const BulletBoxShape ©);
|
INLINE BulletBoxShape(const BulletBoxShape ©);
|
||||||
INLINE void operator = (const BulletBoxShape ©);
|
INLINE void operator = (const BulletBoxShape ©);
|
||||||
INLINE ~BulletBoxShape();
|
INLINE ~BulletBoxShape();
|
||||||
|
@ -24,9 +24,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletCapsuleShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletCapsuleShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletCapsuleShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
explicit BulletCapsuleShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
||||||
INLINE BulletCapsuleShape(const BulletCapsuleShape ©);
|
INLINE BulletCapsuleShape(const BulletCapsuleShape ©);
|
||||||
INLINE void operator = (const BulletCapsuleShape ©);
|
INLINE void operator = (const BulletCapsuleShape ©);
|
||||||
INLINE ~BulletCapsuleShape();
|
INLINE ~BulletCapsuleShape();
|
||||||
|
@ -29,9 +29,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletCharacterControllerNode : public BulletBaseCharacterControllerNode {
|
class EXPCL_PANDABULLET BulletCharacterControllerNode : public BulletBaseCharacterControllerNode {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletCharacterControllerNode(BulletShape *shape, PN_stdfloat step_height, const char *name="character");
|
explicit BulletCharacterControllerNode(BulletShape *shape, PN_stdfloat step_height,
|
||||||
|
const char *name="character");
|
||||||
INLINE ~BulletCharacterControllerNode();
|
INLINE ~BulletCharacterControllerNode();
|
||||||
|
|
||||||
void set_linear_movement(const LVector3 &velocity, bool is_local);
|
void set_linear_movement(const LVector3 &velocity, bool is_local);
|
||||||
|
@ -24,9 +24,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletConeShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletConeShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletConeShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
explicit BulletConeShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
||||||
INLINE BulletConeShape(const BulletConeShape ©);
|
INLINE BulletConeShape(const BulletConeShape ©);
|
||||||
INLINE void operator = (const BulletConeShape ©);
|
INLINE void operator = (const BulletConeShape ©);
|
||||||
INLINE ~BulletConeShape();
|
INLINE ~BulletConeShape();
|
||||||
|
@ -30,12 +30,12 @@ class BulletRigidBodyNode;
|
|||||||
class EXPCL_PANDABULLET BulletConeTwistConstraint : public BulletConstraint {
|
class EXPCL_PANDABULLET BulletConeTwistConstraint : public BulletConstraint {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletConeTwistConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletConeTwistConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const TransformState *frame_a);
|
const TransformState *frame_a);
|
||||||
BulletConeTwistConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletConeTwistConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const TransformState *frame_a,
|
const TransformState *frame_a,
|
||||||
const TransformState *frame_b);
|
const TransformState *frame_b);
|
||||||
INLINE ~BulletConeTwistConstraint();
|
INLINE ~BulletConeTwistConstraint();
|
||||||
|
|
||||||
void set_limit(int index, PN_stdfloat value);
|
void set_limit(int index, PN_stdfloat value);
|
||||||
|
@ -26,10 +26,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletConvexPointCloudShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletConvexPointCloudShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletConvexPointCloudShape(const PTA_LVecBase3 &points, LVecBase3 scale=LVecBase3(1.));
|
explicit BulletConvexPointCloudShape(const PTA_LVecBase3 &points, LVecBase3 scale=LVecBase3(1.));
|
||||||
BulletConvexPointCloudShape(const Geom *geom, LVecBase3 scale=LVecBase3(1.));
|
explicit BulletConvexPointCloudShape(const Geom *geom, LVecBase3 scale=LVecBase3(1.));
|
||||||
INLINE BulletConvexPointCloudShape(const BulletConvexPointCloudShape ©);
|
INLINE BulletConvexPointCloudShape(const BulletConvexPointCloudShape ©);
|
||||||
INLINE void operator = (const BulletConvexPointCloudShape ©);
|
INLINE void operator = (const BulletConvexPointCloudShape ©);
|
||||||
INLINE ~BulletConvexPointCloudShape();
|
INLINE ~BulletConvexPointCloudShape();
|
||||||
|
@ -24,10 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletCylinderShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletCylinderShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletCylinderShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
explicit BulletCylinderShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up=Z_up);
|
||||||
BulletCylinderShape(const LVector3 &half_extents, BulletUpAxis up=Z_up);
|
explicit BulletCylinderShape(const LVector3 &half_extents, BulletUpAxis up=Z_up);
|
||||||
INLINE BulletCylinderShape(const BulletCylinderShape ©);
|
INLINE BulletCylinderShape(const BulletCylinderShape ©);
|
||||||
INLINE void operator = (const BulletCylinderShape ©);
|
INLINE void operator = (const BulletCylinderShape ©);
|
||||||
INLINE ~BulletCylinderShape();
|
INLINE ~BulletCylinderShape();
|
||||||
|
@ -23,9 +23,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletDebugNode : public PandaNode {
|
class EXPCL_PANDABULLET BulletDebugNode : public PandaNode {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletDebugNode(const char *name="debug");
|
explicit BulletDebugNode(const char *name="debug");
|
||||||
INLINE ~BulletDebugNode();
|
INLINE ~BulletDebugNode();
|
||||||
|
|
||||||
virtual void draw_mask_changed();
|
virtual void draw_mask_changed();
|
||||||
|
@ -31,16 +31,15 @@ class BulletRigidBodyNode;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletGenericConstraint : public BulletConstraint {
|
class EXPCL_PANDABULLET BulletGenericConstraint : public BulletConstraint {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletGenericConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletGenericConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const TransformState *frame_a,
|
const TransformState *frame_a,
|
||||||
bool use_frame_a);
|
bool use_frame_a);
|
||||||
BulletGenericConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletGenericConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const TransformState *frame_a,
|
const TransformState *frame_a,
|
||||||
const TransformState *frame_b,
|
const TransformState *frame_b,
|
||||||
bool use_frame_a);
|
bool use_frame_a);
|
||||||
INLINE ~BulletGenericConstraint();
|
INLINE ~BulletGenericConstraint();
|
||||||
|
|
||||||
// Geometry
|
// Geometry
|
||||||
|
@ -29,9 +29,8 @@ class BulletShape;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletGhostNode : public BulletBodyNode {
|
class EXPCL_PANDABULLET BulletGhostNode : public BulletBodyNode {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletGhostNode(const char *name="ghost");
|
explicit BulletGhostNode(const char *name="ghost");
|
||||||
INLINE ~BulletGhostNode();
|
INLINE ~BulletGhostNode();
|
||||||
|
|
||||||
// Overlapping
|
// Overlapping
|
||||||
|
@ -28,10 +28,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletHeightfieldShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletHeightfieldShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletHeightfieldShape(const PNMImage &image, PN_stdfloat max_height, BulletUpAxis up=Z_up);
|
explicit BulletHeightfieldShape(const PNMImage &image, PN_stdfloat max_height, BulletUpAxis up=Z_up);
|
||||||
BulletHeightfieldShape(Texture *tex, PN_stdfloat max_height, BulletUpAxis up=Z_up);
|
explicit BulletHeightfieldShape(Texture *tex, PN_stdfloat max_height, BulletUpAxis up=Z_up);
|
||||||
INLINE BulletHeightfieldShape(const BulletHeightfieldShape ©);
|
INLINE BulletHeightfieldShape(const BulletHeightfieldShape ©);
|
||||||
INLINE void operator = (const BulletHeightfieldShape ©);
|
INLINE void operator = (const BulletHeightfieldShape ©);
|
||||||
INLINE ~BulletHeightfieldShape();
|
INLINE ~BulletHeightfieldShape();
|
||||||
|
@ -29,28 +29,27 @@ class BulletRigidBodyNode;
|
|||||||
* adhering to specified limits. It's motor can apply angular force to them.
|
* adhering to specified limits. It's motor can apply angular force to them.
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletHingeConstraint : public BulletConstraint {
|
class EXPCL_PANDABULLET BulletHingeConstraint : public BulletConstraint {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const LPoint3 &pivot_a,
|
const LPoint3 &pivot_a,
|
||||||
const LVector3 &axis_a,
|
const LVector3 &axis_a,
|
||||||
bool use_frame_a=false);
|
bool use_frame_a=false);
|
||||||
BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const LPoint3 &pivot_a,
|
const LPoint3 &pivot_a,
|
||||||
const LPoint3 &pivot_b,
|
const LPoint3 &pivot_b,
|
||||||
const LVector3 &axis_a,
|
const LVector3 &axis_a,
|
||||||
const LVector3 &axis_b,
|
const LVector3 &axis_b,
|
||||||
bool use_frame_a=false);
|
bool use_frame_a=false);
|
||||||
|
|
||||||
BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const TransformState *ts_a,
|
const TransformState *ts_a,
|
||||||
bool use_frame_a=false);
|
bool use_frame_a=false);
|
||||||
BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletHingeConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const TransformState *ts_a,
|
const TransformState *ts_a,
|
||||||
const TransformState *ts_b,
|
const TransformState *ts_b,
|
||||||
bool use_frame_a=false);
|
bool use_frame_a=false);
|
||||||
|
|
||||||
INLINE ~BulletHingeConstraint();
|
INLINE ~BulletHingeConstraint();
|
||||||
|
|
||||||
|
@ -26,9 +26,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletMinkowskiSumShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletMinkowskiSumShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletMinkowskiSumShape(const BulletShape *shape_a, const BulletShape *shape_b);
|
explicit BulletMinkowskiSumShape(const BulletShape *shape_a, const BulletShape *shape_b);
|
||||||
INLINE BulletMinkowskiSumShape(const BulletMinkowskiSumShape ©);
|
INLINE BulletMinkowskiSumShape(const BulletMinkowskiSumShape ©);
|
||||||
INLINE void operator = (const BulletMinkowskiSumShape ©);
|
INLINE void operator = (const BulletMinkowskiSumShape ©);
|
||||||
INLINE ~BulletMinkowskiSumShape();
|
INLINE ~BulletMinkowskiSumShape();
|
||||||
|
@ -26,9 +26,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletMultiSphereShape : public BulletShape {
|
class EXPCL_PANDABULLET BulletMultiSphereShape : public BulletShape {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletMultiSphereShape(const PTA_LVecBase3 &points, const PTA_stdfloat &radii);
|
explicit BulletMultiSphereShape(const PTA_LVecBase3 &points, const PTA_stdfloat &radii);
|
||||||
INLINE BulletMultiSphereShape(const BulletMultiSphereShape ©);
|
INLINE BulletMultiSphereShape(const BulletMultiSphereShape ©);
|
||||||
INLINE void operator = (const BulletMultiSphereShape ©);
|
INLINE void operator = (const BulletMultiSphereShape ©);
|
||||||
INLINE ~BulletMultiSphereShape();
|
INLINE ~BulletMultiSphereShape();
|
||||||
|
@ -32,7 +32,7 @@ private:
|
|||||||
INLINE BulletPlaneShape() : _shape(NULL) {};
|
INLINE BulletPlaneShape() : _shape(NULL) {};
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletPlaneShape(const LVector3 &normal, PN_stdfloat constant);
|
explicit BulletPlaneShape(const LVector3 &normal, PN_stdfloat constant);
|
||||||
INLINE BulletPlaneShape(const BulletPlaneShape ©);
|
INLINE BulletPlaneShape(const BulletPlaneShape ©);
|
||||||
INLINE void operator = (const BulletPlaneShape ©);
|
INLINE void operator = (const BulletPlaneShape ©);
|
||||||
INLINE ~BulletPlaneShape();
|
INLINE ~BulletPlaneShape();
|
||||||
|
@ -28,16 +28,15 @@ class BulletRigidBodyNode;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletSliderConstraint : public BulletConstraint {
|
class EXPCL_PANDABULLET BulletSliderConstraint : public BulletConstraint {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletSliderConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletSliderConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const TransformState *frame_a,
|
const TransformState *frame_a,
|
||||||
bool useFrame_a);
|
bool useFrame_a);
|
||||||
BulletSliderConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletSliderConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const TransformState *frame_a,
|
const TransformState *frame_a,
|
||||||
const TransformState *frame_b,
|
const TransformState *frame_b,
|
||||||
bool use_frame_a);
|
bool use_frame_a);
|
||||||
INLINE ~BulletSliderConstraint();
|
INLINE ~BulletSliderConstraint();
|
||||||
|
|
||||||
PN_stdfloat get_linear_pos() const;
|
PN_stdfloat get_linear_pos() const;
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
INLINE BulletSphereShape() : _shape(NULL) {};
|
INLINE BulletSphereShape() : _shape(NULL) {};
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletSphereShape(PN_stdfloat radius);
|
explicit BulletSphereShape(PN_stdfloat radius);
|
||||||
INLINE BulletSphereShape(const BulletSphereShape ©);
|
INLINE BulletSphereShape(const BulletSphereShape ©);
|
||||||
INLINE void operator = (const BulletSphereShape ©);
|
INLINE void operator = (const BulletSphereShape ©);
|
||||||
INLINE ~BulletSphereShape();
|
INLINE ~BulletSphereShape();
|
||||||
|
@ -32,14 +32,13 @@ class BulletRigidBodyNode;
|
|||||||
* socket" joint.
|
* socket" joint.
|
||||||
*/
|
*/
|
||||||
class EXPCL_PANDABULLET BulletSphericalConstraint : public BulletConstraint {
|
class EXPCL_PANDABULLET BulletSphericalConstraint : public BulletConstraint {
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletSphericalConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletSphericalConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const LPoint3 &pivot_a);
|
const LPoint3 &pivot_a);
|
||||||
BulletSphericalConstraint(const BulletRigidBodyNode *node_a,
|
explicit BulletSphericalConstraint(const BulletRigidBodyNode *node_a,
|
||||||
const BulletRigidBodyNode *node_b,
|
const BulletRigidBodyNode *node_b,
|
||||||
const LPoint3 &pivot_a,
|
const LPoint3 &pivot_a,
|
||||||
const LPoint3 &pivot_b);
|
const LPoint3 &pivot_b);
|
||||||
INLINE ~BulletSphericalConstraint();
|
INLINE ~BulletSphericalConstraint();
|
||||||
|
|
||||||
// Pivots
|
// Pivots
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
INLINE BulletTriangleMeshShape();
|
INLINE BulletTriangleMeshShape();
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BulletTriangleMeshShape(BulletTriangleMesh *mesh, bool dynamic, bool compress=true, bool bvh=true);
|
explicit BulletTriangleMeshShape(BulletTriangleMesh *mesh, bool dynamic, bool compress=true, bool bvh=true);
|
||||||
INLINE BulletTriangleMeshShape(const BulletTriangleMeshShape ©);
|
INLINE BulletTriangleMeshShape(const BulletTriangleMeshShape ©);
|
||||||
INLINE void operator = (const BulletTriangleMeshShape ©);
|
INLINE void operator = (const BulletTriangleMeshShape ©);
|
||||||
INLINE ~BulletTriangleMeshShape();
|
INLINE ~BulletTriangleMeshShape();
|
||||||
|
@ -31,7 +31,7 @@ protected:
|
|||||||
AnimBundle(AnimGroup *parent, const AnimBundle ©);
|
AnimBundle(AnimGroup *parent, const AnimBundle ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE AnimBundle(const string &name, PN_stdfloat fps, int num_frames);
|
INLINE explicit AnimBundle(const string &name, PN_stdfloat fps, int num_frames);
|
||||||
|
|
||||||
PT(AnimBundle) copy_bundle() const;
|
PT(AnimBundle) copy_bundle() const;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_CHAN AnimBundleNode : public PandaNode {
|
class EXPCL_PANDA_CHAN AnimBundleNode : public PandaNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE AnimBundleNode(const string &name, AnimBundle *bundle);
|
INLINE explicit AnimBundleNode(const string &name, AnimBundle *bundle);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
INLINE AnimBundleNode();
|
INLINE AnimBundleNode();
|
||||||
|
@ -34,7 +34,7 @@ protected:
|
|||||||
AnimChannelMatrixXfmTable(AnimGroup *parent, const AnimChannelMatrixXfmTable ©);
|
AnimChannelMatrixXfmTable(AnimGroup *parent, const AnimChannelMatrixXfmTable ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
AnimChannelMatrixXfmTable(AnimGroup *parent, const string &name);
|
explicit AnimChannelMatrixXfmTable(AnimGroup *parent, const string &name);
|
||||||
virtual ~AnimChannelMatrixXfmTable();
|
virtual ~AnimChannelMatrixXfmTable();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -37,7 +37,7 @@ protected:
|
|||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
// This is the normal AnimGroup constructor.
|
// This is the normal AnimGroup constructor.
|
||||||
AnimGroup(AnimGroup *parent, const string &name);
|
explicit AnimGroup(AnimGroup *parent, const string &name);
|
||||||
virtual ~AnimGroup();
|
virtual ~AnimGroup();
|
||||||
|
|
||||||
int get_num_children() const;
|
int get_num_children() const;
|
||||||
|
@ -30,13 +30,13 @@ public:
|
|||||||
ALLOC_DELETED_CHAIN(BindAnimRequest);
|
ALLOC_DELETED_CHAIN(BindAnimRequest);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
BindAnimRequest(const string &name,
|
explicit BindAnimRequest(const string &name,
|
||||||
const Filename &filename,
|
const Filename &filename,
|
||||||
const LoaderOptions &options,
|
const LoaderOptions &options,
|
||||||
Loader *loader,
|
Loader *loader,
|
||||||
AnimControl *control,
|
AnimControl *control,
|
||||||
int hierarchy_match_flags,
|
int hierarchy_match_flags,
|
||||||
const PartSubset &subset);
|
const PartSubset &subset);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual DoneStatus do_task();
|
virtual DoneStatus do_task();
|
||||||
|
@ -55,7 +55,7 @@ protected:
|
|||||||
PartBundle(const PartBundle ©);
|
PartBundle(const PartBundle ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
PartBundle(const string &name = "");
|
explicit PartBundle(const string &name = "");
|
||||||
virtual PartGroup *make_copy() const;
|
virtual PartGroup *make_copy() const;
|
||||||
|
|
||||||
INLINE CPT(AnimPreloadTable) get_anim_preload() const;
|
INLINE CPT(AnimPreloadTable) get_anim_preload() const;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_CHAN PartBundleNode : public PandaNode {
|
class EXPCL_PANDA_CHAN PartBundleNode : public PandaNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE PartBundleNode(const string &name, PartBundle *bundle);
|
INLINE explicit PartBundleNode(const string &name, PartBundle *bundle);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
INLINE PartBundleNode();
|
INLINE PartBundleNode();
|
||||||
|
@ -60,7 +60,7 @@ protected:
|
|||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
// This is the normal PartGroup constructor.
|
// This is the normal PartGroup constructor.
|
||||||
PartGroup(PartGroup *parent, const string &name);
|
explicit PartGroup(PartGroup *parent, const string &name);
|
||||||
virtual ~PartGroup();
|
virtual ~PartGroup();
|
||||||
virtual bool is_character_joint() const;
|
virtual bool is_character_joint() const;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ protected:
|
|||||||
Character(const Character ©, bool copy_bundles);
|
Character(const Character ©, bool copy_bundles);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
Character(const string &name);
|
explicit Character(const string &name);
|
||||||
virtual ~Character();
|
virtual ~Character();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -35,9 +35,9 @@ protected:
|
|||||||
CharacterJoint(const CharacterJoint ©);
|
CharacterJoint(const CharacterJoint ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CharacterJoint(Character *character,
|
explicit CharacterJoint(Character *character, PartBundle *root,
|
||||||
PartBundle *root, PartGroup *parent, const string &name,
|
PartGroup *parent, const string &name,
|
||||||
const LMatrix4 &default_value);
|
const LMatrix4 &default_value);
|
||||||
virtual ~CharacterJoint();
|
virtual ~CharacterJoint();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -30,7 +30,7 @@ protected:
|
|||||||
INLINE CharacterJointBundle(const CharacterJointBundle ©);
|
INLINE CharacterJointBundle(const CharacterJointBundle ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CharacterJointBundle(const string &name = "");
|
explicit CharacterJointBundle(const string &name = "");
|
||||||
virtual ~CharacterJointBundle();
|
virtual ~CharacterJointBundle();
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
|
@ -31,7 +31,7 @@ protected:
|
|||||||
CharacterSlider(const CharacterSlider ©);
|
CharacterSlider(const CharacterSlider ©);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CharacterSlider(PartGroup *parent, const string &name);
|
explicit CharacterSlider(PartGroup *parent, const string &name);
|
||||||
virtual ~CharacterSlider();
|
virtual ~CharacterSlider();
|
||||||
|
|
||||||
virtual PartGroup *make_copy() const;
|
virtual PartGroup *make_copy() const;
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionBox : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionBox : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionBox(const LPoint3 ¢er,
|
INLINE explicit CollisionBox(const LPoint3 ¢er,
|
||||||
PN_stdfloat x, PN_stdfloat y, PN_stdfloat z);
|
PN_stdfloat x, PN_stdfloat y, PN_stdfloat z);
|
||||||
INLINE CollisionBox(const LPoint3 &min, const LPoint3 &max);
|
INLINE explicit CollisionBox(const LPoint3 &min, const LPoint3 &max);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionInvSphere : public CollisionSphere {
|
class EXPCL_PANDA_COLLIDE CollisionInvSphere : public CollisionSphere {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionInvSphere(const LPoint3 ¢er, PN_stdfloat radius);
|
INLINE explicit CollisionInvSphere(const LPoint3 ¢er, PN_stdfloat radius);
|
||||||
INLINE CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius);
|
INLINE explicit CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
INLINE CollisionInvSphere();
|
INLINE CollisionInvSphere();
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
class EXPCL_PANDA_COLLIDE CollisionLine : public CollisionRay {
|
class EXPCL_PANDA_COLLIDE CollisionLine : public CollisionRay {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionLine();
|
INLINE CollisionLine();
|
||||||
INLINE CollisionLine(const LPoint3 &origin, const LVector3 &direction);
|
INLINE explicit CollisionLine(const LPoint3 &origin, const LVector3 &direction);
|
||||||
INLINE CollisionLine(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz,
|
INLINE explicit CollisionLine(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz,
|
||||||
PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz);
|
PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
INLINE CollisionLine(const CollisionLine ©);
|
INLINE CollisionLine(const CollisionLine ©);
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionNode : public PandaNode {
|
class EXPCL_PANDA_COLLIDE CollisionNode : public PandaNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CollisionNode(const string &name);
|
explicit CollisionNode(const string &name);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CollisionNode(const CollisionNode ©);
|
CollisionNode(const CollisionNode ©);
|
||||||
|
@ -32,7 +32,7 @@ class LensNode;
|
|||||||
class EXPCL_PANDA_COLLIDE CollisionParabola : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionParabola : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionParabola();
|
INLINE CollisionParabola();
|
||||||
INLINE CollisionParabola(const LParabola ¶bola, PN_stdfloat t1, PN_stdfloat t2);
|
INLINE explicit CollisionParabola(const LParabola ¶bola, PN_stdfloat t1, PN_stdfloat t2);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
class EXPCL_PANDA_COLLIDE CollisionRay : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionRay : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionRay();
|
INLINE CollisionRay();
|
||||||
INLINE CollisionRay(const LPoint3 &origin, const LVector3 &direction);
|
INLINE explicit CollisionRay(const LPoint3 &origin, const LVector3 &direction);
|
||||||
INLINE CollisionRay(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz,
|
INLINE explicit CollisionRay(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz,
|
||||||
PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz);
|
PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -31,9 +31,9 @@ class LensNode;
|
|||||||
class EXPCL_PANDA_COLLIDE CollisionSegment : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionSegment : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionSegment();
|
INLINE CollisionSegment();
|
||||||
INLINE CollisionSegment(const LPoint3 &a, const LPoint3 &db);
|
INLINE explicit CollisionSegment(const LPoint3 &a, const LPoint3 &db);
|
||||||
INLINE CollisionSegment(PN_stdfloat ax, PN_stdfloat ay, PN_stdfloat az,
|
INLINE explicit CollisionSegment(PN_stdfloat ax, PN_stdfloat ay, PN_stdfloat az,
|
||||||
PN_stdfloat bx, PN_stdfloat by, PN_stdfloat bz);
|
PN_stdfloat bx, PN_stdfloat by, PN_stdfloat bz);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionSphere : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionSphere : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionSphere(const LPoint3 ¢er, PN_stdfloat radius);
|
INLINE explicit CollisionSphere(const LPoint3 ¢er, PN_stdfloat radius);
|
||||||
INLINE CollisionSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius);
|
INLINE explicit CollisionSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class CollisionEntry;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionTraverser : public Namable {
|
class EXPCL_PANDA_COLLIDE CollisionTraverser : public Namable {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CollisionTraverser(const string &name = "ctrav");
|
explicit CollisionTraverser(const string &name = "ctrav");
|
||||||
~CollisionTraverser();
|
~CollisionTraverser();
|
||||||
|
|
||||||
INLINE void set_respect_prev_transform(bool flag);
|
INLINE void set_respect_prev_transform(bool flag);
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionTube : public CollisionSolid {
|
class EXPCL_PANDA_COLLIDE CollisionTube : public CollisionSolid {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE CollisionTube(const LPoint3 &a, const LPoint3 &db,
|
INLINE explicit CollisionTube(const LPoint3 &a, const LPoint3 &db,
|
||||||
PN_stdfloat radius);
|
PN_stdfloat radius);
|
||||||
INLINE CollisionTube(PN_stdfloat ax, PN_stdfloat ay, PN_stdfloat az,
|
INLINE explicit CollisionTube(PN_stdfloat ax, PN_stdfloat ay, PN_stdfloat az,
|
||||||
PN_stdfloat bx, PN_stdfloat by, PN_stdfloat bz,
|
PN_stdfloat bx, PN_stdfloat by, PN_stdfloat bz,
|
||||||
PN_stdfloat radius);
|
PN_stdfloat radius);
|
||||||
|
|
||||||
virtual LPoint3 get_collision_origin() const;
|
virtual LPoint3 get_collision_origin() const;
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_COLLIDE CollisionVisualizer : public PandaNode, public CollisionRecorder {
|
class EXPCL_PANDA_COLLIDE CollisionVisualizer : public PandaNode, public CollisionRecorder {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
CollisionVisualizer(const string &name);
|
explicit CollisionVisualizer(const string &name);
|
||||||
virtual ~CollisionVisualizer();
|
virtual ~CollisionVisualizer();
|
||||||
|
|
||||||
INLINE void set_point_scale(PN_stdfloat point_scale);
|
INLINE void set_point_scale(PN_stdfloat point_scale);
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE AnalogNode : public DataNode {
|
class EXPCL_PANDA_DEVICE AnalogNode : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
AnalogNode(ClientBase *client, const string &device_name);
|
explicit AnalogNode(ClientBase *client, const string &device_name);
|
||||||
virtual ~AnalogNode();
|
virtual ~AnalogNode();
|
||||||
|
|
||||||
INLINE bool is_valid() const;
|
INLINE bool is_valid() const;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE ButtonNode : public DataNode {
|
class EXPCL_PANDA_DEVICE ButtonNode : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
ButtonNode(ClientBase *client, const string &device_name);
|
explicit ButtonNode(ClientBase *client, const string &device_name);
|
||||||
virtual ~ButtonNode();
|
virtual ~ButtonNode();
|
||||||
|
|
||||||
INLINE bool is_valid() const;
|
INLINE bool is_valid() const;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE DialNode : public DataNode {
|
class EXPCL_PANDA_DEVICE DialNode : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
DialNode(ClientBase *client, const string &device_name);
|
explicit DialNode(ClientBase *client, const string &device_name);
|
||||||
virtual ~DialNode();
|
virtual ~DialNode();
|
||||||
|
|
||||||
INLINE bool is_valid() const;
|
INLINE bool is_valid() const;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE MouseAndKeyboard : public DataNode {
|
class EXPCL_PANDA_DEVICE MouseAndKeyboard : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
MouseAndKeyboard(GraphicsWindow *window, int device, const string &name);
|
explicit MouseAndKeyboard(GraphicsWindow *window, int device, const string &name);
|
||||||
void set_source(GraphicsWindow *window, int device);
|
void set_source(GraphicsWindow *window, int device);
|
||||||
|
|
||||||
PT(GraphicsWindow) get_source_window() const;
|
PT(GraphicsWindow) get_source_window() const;
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE TrackerNode : public DataNode {
|
class EXPCL_PANDA_DEVICE TrackerNode : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
TrackerNode(ClientBase *client, const string &device_name);
|
explicit TrackerNode(ClientBase *client, const string &device_name);
|
||||||
TrackerNode(ClientTrackerDevice *device);
|
explicit TrackerNode(ClientTrackerDevice *device);
|
||||||
virtual ~TrackerNode();
|
virtual ~TrackerNode();
|
||||||
|
|
||||||
INLINE bool is_valid() const;
|
INLINE bool is_valid() const;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DEVICE VirtualMouse : public DataNode {
|
class EXPCL_PANDA_DEVICE VirtualMouse : public DataNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
VirtualMouse(const string &name);
|
explicit VirtualMouse(const string &name);
|
||||||
|
|
||||||
void set_mouse_pos(int x, int y);
|
void set_mouse_pos(int x, int y);
|
||||||
void set_window_size(int width, int height);
|
void set_window_size(int width, int height);
|
||||||
|
@ -31,7 +31,7 @@ class PandaNode;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DGRAPH DataGraphTraverser {
|
class EXPCL_PANDA_DGRAPH DataGraphTraverser {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
DataGraphTraverser(Thread *current_thread = Thread::get_current_thread());
|
explicit DataGraphTraverser(Thread *current_thread = Thread::get_current_thread());
|
||||||
~DataGraphTraverser();
|
~DataGraphTraverser();
|
||||||
|
|
||||||
INLINE Thread *get_current_thread() const;
|
INLINE Thread *get_current_thread() const;
|
||||||
|
@ -51,7 +51,7 @@ class DataNodeTransmit;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DGRAPH DataNode : public PandaNode {
|
class EXPCL_PANDA_DGRAPH DataNode : public PandaNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE DataNode(const string &name);
|
INLINE explicit DataNode(const string &name);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
INLINE DataNode(const DataNode ©);
|
INLINE DataNode(const DataNode ©);
|
||||||
|
@ -52,7 +52,7 @@ class Texture;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_DISPLAY GraphicsEngine : public ReferenceCount {
|
class EXPCL_PANDA_DISPLAY GraphicsEngine : public ReferenceCount {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
GraphicsEngine(Pipeline *pipeline = NULL);
|
explicit GraphicsEngine(Pipeline *pipeline = NULL);
|
||||||
BLOCKING ~GraphicsEngine();
|
BLOCKING ~GraphicsEngine();
|
||||||
|
|
||||||
void set_threading_model(const GraphicsThreadingModel &threading_model);
|
void set_threading_model(const GraphicsThreadingModel &threading_model);
|
||||||
|
@ -47,7 +47,7 @@ class WorkingNodePath;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAFX ProjectionScreen : public PandaNode {
|
class EXPCL_PANDAFX ProjectionScreen : public PandaNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
ProjectionScreen(const string &name = "");
|
explicit ProjectionScreen(const string &name = "");
|
||||||
virtual ~ProjectionScreen();
|
virtual ~ProjectionScreen();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -72,8 +72,8 @@ PUBLISHED:
|
|||||||
};
|
};
|
||||||
|
|
||||||
DownloadDb();
|
DownloadDb();
|
||||||
DownloadDb(Ramfile &server_file, Filename &client_file);
|
explicit DownloadDb(Ramfile &server_file, Filename &client_file);
|
||||||
DownloadDb(Filename &server_file, Filename &client_file);
|
explicit DownloadDb(Filename &server_file, Filename &client_file);
|
||||||
~DownloadDb();
|
~DownloadDb();
|
||||||
|
|
||||||
void output(ostream &out) const;
|
void output(ostream &out) const;
|
||||||
|
@ -32,8 +32,9 @@
|
|||||||
class EXPCL_PANDAEXPRESS HTTPCookie {
|
class EXPCL_PANDAEXPRESS HTTPCookie {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE HTTPCookie();
|
INLINE HTTPCookie();
|
||||||
INLINE HTTPCookie(const string &format, const URLSpec &url);
|
INLINE explicit HTTPCookie(const string &format, const URLSpec &url);
|
||||||
INLINE HTTPCookie(const string &name, const string &path, const string &domain);
|
INLINE explicit HTTPCookie(const string &name, const string &path,
|
||||||
|
const string &domain);
|
||||||
INLINE ~HTTPCookie();
|
INLINE ~HTTPCookie();
|
||||||
|
|
||||||
INLINE void set_name(const string &name);
|
INLINE void set_name(const string &name);
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
class EXPCL_PANDAEXPRESS Patcher {
|
class EXPCL_PANDAEXPRESS Patcher {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
Patcher();
|
Patcher();
|
||||||
Patcher(PT(Buffer) buffer);
|
explicit Patcher(PT(Buffer) buffer);
|
||||||
virtual ~Patcher();
|
virtual ~Patcher();
|
||||||
|
|
||||||
int initiate(Filename &patch, Filename &infile);
|
int initiate(Filename &patch, Filename &infile);
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEXPRESS VirtualFileMountHTTP : public VirtualFileMount {
|
class EXPCL_PANDAEXPRESS VirtualFileMountHTTP : public VirtualFileMount {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
VirtualFileMountHTTP(const URLSpec &root, HTTPClient *http = HTTPClient::get_global_ptr());
|
explicit VirtualFileMountHTTP(const URLSpec &root, HTTPClient *http = HTTPClient::get_global_ptr());
|
||||||
virtual ~VirtualFileMountHTTP();
|
virtual ~VirtualFileMountHTTP();
|
||||||
|
|
||||||
INLINE HTTPClient *get_http_client() const;
|
INLINE HTTPClient *get_http_client() const;
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggAnimData : public EggNode {
|
class EXPCL_PANDAEGG EggAnimData : public EggNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
|
INLINE explicit EggAnimData(const string &name = "");
|
||||||
INLINE EggAnimData(const string &name = "");
|
|
||||||
INLINE EggAnimData(const EggAnimData ©);
|
INLINE EggAnimData(const EggAnimData ©);
|
||||||
INLINE EggAnimData &operator = (const EggAnimData ©);
|
INLINE EggAnimData &operator = (const EggAnimData ©);
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggAnimPreload : public EggNode {
|
class EXPCL_PANDAEGG EggAnimPreload : public EggNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggAnimPreload(const string &name = "");
|
INLINE explicit EggAnimPreload(const string &name = "");
|
||||||
INLINE EggAnimPreload(const EggAnimPreload ©);
|
INLINE EggAnimPreload(const EggAnimPreload ©);
|
||||||
INLINE EggAnimPreload &operator = (const EggAnimPreload ©);
|
INLINE EggAnimPreload &operator = (const EggAnimPreload ©);
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggBin : public EggGroup {
|
class EXPCL_PANDAEGG EggBin : public EggGroup {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
EggBin(const string &name = "");
|
explicit EggBin(const string &name = "");
|
||||||
EggBin(const EggGroup ©);
|
EggBin(const EggGroup ©);
|
||||||
EggBin(const EggBin ©);
|
EggBin(const EggBin ©);
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggComment : public EggNode {
|
class EXPCL_PANDAEGG EggComment : public EggNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggComment(const string &node_name, const string &comment);
|
INLINE explicit EggComment(const string &node_name, const string &comment);
|
||||||
INLINE EggComment(const EggComment ©);
|
INLINE EggComment(const EggComment ©);
|
||||||
|
|
||||||
// You can use the string operators to directly set and manipulate the
|
// You can use the string operators to directly set and manipulate the
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggCompositePrimitive : public EggPrimitive {
|
class EXPCL_PANDAEGG EggCompositePrimitive : public EggPrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggCompositePrimitive(const string &name = "");
|
INLINE explicit EggCompositePrimitive(const string &name = "");
|
||||||
INLINE EggCompositePrimitive(const EggCompositePrimitive ©);
|
INLINE EggCompositePrimitive(const EggCompositePrimitive ©);
|
||||||
INLINE EggCompositePrimitive &operator = (const EggCompositePrimitive ©);
|
INLINE EggCompositePrimitive &operator = (const EggCompositePrimitive ©);
|
||||||
virtual ~EggCompositePrimitive();
|
virtual ~EggCompositePrimitive();
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggCurve : public EggPrimitive {
|
class EXPCL_PANDAEGG EggCurve : public EggPrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggCurve(const string &name = "");
|
INLINE explicit EggCurve(const string &name = "");
|
||||||
INLINE EggCurve(const EggCurve ©);
|
INLINE EggCurve(const EggCurve ©);
|
||||||
INLINE EggCurve &operator = (const EggCurve ©);
|
INLINE EggCurve &operator = (const EggCurve ©);
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggExternalReference : public EggFilenameNode {
|
class EXPCL_PANDAEGG EggExternalReference : public EggFilenameNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
EggExternalReference(const string &node_name, const string &filename);
|
explicit EggExternalReference(const string &node_name, const string &filename);
|
||||||
EggExternalReference(const EggExternalReference ©);
|
EggExternalReference(const EggExternalReference ©);
|
||||||
EggExternalReference &operator = (const EggExternalReference ©);
|
EggExternalReference &operator = (const EggExternalReference ©);
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
class EXPCL_PANDAEGG EggFilenameNode : public EggNode {
|
class EXPCL_PANDAEGG EggFilenameNode : public EggNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggFilenameNode();
|
INLINE EggFilenameNode();
|
||||||
INLINE EggFilenameNode(const string &node_name, const Filename &filename);
|
INLINE explicit EggFilenameNode(const string &node_name, const Filename &filename);
|
||||||
INLINE EggFilenameNode(const EggFilenameNode ©);
|
INLINE EggFilenameNode(const EggFilenameNode ©);
|
||||||
INLINE EggFilenameNode &operator = (const EggFilenameNode ©);
|
INLINE EggFilenameNode &operator = (const EggFilenameNode ©);
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ PUBLISHED:
|
|||||||
BO_one_minus_alpha_scale,
|
BO_one_minus_alpha_scale,
|
||||||
};
|
};
|
||||||
|
|
||||||
EggGroup(const string &name = "");
|
explicit EggGroup(const string &name = "");
|
||||||
EggGroup(const EggGroup ©);
|
EggGroup(const EggGroup ©);
|
||||||
EggGroup &operator = (const EggGroup ©);
|
EggGroup &operator = (const EggGroup ©);
|
||||||
~EggGroup();
|
~EggGroup();
|
||||||
|
@ -58,7 +58,7 @@ private:
|
|||||||
// Here begins the actual public interface to EggGroupNode.
|
// Here begins the actual public interface to EggGroupNode.
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
EggGroupNode(const string &name = "") : EggNode(name) { }
|
explicit EggGroupNode(const string &name = "") : EggNode(name) { }
|
||||||
EggGroupNode(const EggGroupNode ©);
|
EggGroupNode(const EggGroupNode ©);
|
||||||
EggGroupNode &operator = (const EggGroupNode ©);
|
EggGroupNode &operator = (const EggGroupNode ©);
|
||||||
virtual ~EggGroupNode();
|
virtual ~EggGroupNode();
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggGroupUniquifier : public EggNameUniquifier {
|
class EXPCL_PANDAEGG EggGroupUniquifier : public EggNameUniquifier {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
EggGroupUniquifier(bool filter_names = true);
|
explicit EggGroupUniquifier(bool filter_names = true);
|
||||||
|
|
||||||
virtual string get_category(EggNode *node);
|
virtual string get_category(EggNode *node);
|
||||||
virtual string filter_name(EggNode *node);
|
virtual string filter_name(EggNode *node);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggLine : public EggCompositePrimitive {
|
class EXPCL_PANDAEGG EggLine : public EggCompositePrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggLine(const string &name = "");
|
INLINE explicit EggLine(const string &name = "");
|
||||||
INLINE EggLine(const EggLine ©);
|
INLINE EggLine(const EggLine ©);
|
||||||
INLINE EggLine &operator = (const EggLine ©);
|
INLINE EggLine &operator = (const EggLine ©);
|
||||||
virtual ~EggLine();
|
virtual ~EggLine();
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggMaterial : public EggNode {
|
class EXPCL_PANDAEGG EggMaterial : public EggNode {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
EggMaterial(const string &mref_name);
|
explicit EggMaterial(const string &mref_name);
|
||||||
EggMaterial(const EggMaterial ©);
|
EggMaterial(const EggMaterial ©);
|
||||||
|
|
||||||
virtual void write(ostream &out, int indent_level) const;
|
virtual void write(ostream &out, int indent_level) const;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggNamedObject : public EggObject, public Namable {
|
class EXPCL_PANDAEGG EggNamedObject : public EggObject, public Namable {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggNamedObject(const string &name = "");
|
INLINE explicit EggNamedObject(const string &name = "");
|
||||||
INLINE EggNamedObject(const EggNamedObject ©);
|
INLINE EggNamedObject(const EggNamedObject ©);
|
||||||
INLINE EggNamedObject &operator = (const EggNamedObject ©);
|
INLINE EggNamedObject &operator = (const EggNamedObject ©);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ class EggTextureCollection;
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggNode : public EggNamedObject {
|
class EXPCL_PANDAEGG EggNode : public EggNamedObject {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggNode(const string &name = "");
|
INLINE explicit EggNode(const string &name = "");
|
||||||
INLINE EggNode(const EggNode ©);
|
INLINE EggNode(const EggNode ©);
|
||||||
INLINE EggNode &operator = (const EggNode ©);
|
INLINE EggNode &operator = (const EggNode ©);
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggNurbsCurve : public EggCurve {
|
class EXPCL_PANDAEGG EggNurbsCurve : public EggCurve {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggNurbsCurve(const string &name = "");
|
INLINE explicit EggNurbsCurve(const string &name = "");
|
||||||
INLINE EggNurbsCurve(const EggNurbsCurve ©);
|
INLINE EggNurbsCurve(const EggNurbsCurve ©);
|
||||||
INLINE EggNurbsCurve &operator = (const EggNurbsCurve ©);
|
INLINE EggNurbsCurve &operator = (const EggNurbsCurve ©);
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ PUBLISHED:
|
|||||||
typedef Loops Trim;
|
typedef Loops Trim;
|
||||||
typedef plist<Trim> Trims;
|
typedef plist<Trim> Trims;
|
||||||
|
|
||||||
INLINE EggNurbsSurface(const string &name = "");
|
INLINE explicit EggNurbsSurface(const string &name = "");
|
||||||
INLINE EggNurbsSurface(const EggNurbsSurface ©);
|
INLINE EggNurbsSurface(const EggNurbsSurface ©);
|
||||||
INLINE EggNurbsSurface &operator = (const EggNurbsSurface ©);
|
INLINE EggNurbsSurface &operator = (const EggNurbsSurface ©);
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggPatch : public EggPrimitive {
|
class EXPCL_PANDAEGG EggPatch : public EggPrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggPatch(const string &name = "");
|
INLINE explicit EggPatch(const string &name = "");
|
||||||
INLINE EggPatch(const EggPatch ©);
|
INLINE EggPatch(const EggPatch ©);
|
||||||
INLINE EggPatch &operator = (const EggPatch ©);
|
INLINE EggPatch &operator = (const EggPatch ©);
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggPoint : public EggPrimitive {
|
class EXPCL_PANDAEGG EggPoint : public EggPrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggPoint(const string &name = "");
|
INLINE explicit EggPoint(const string &name = "");
|
||||||
INLINE EggPoint(const EggPoint ©);
|
INLINE EggPoint(const EggPoint ©);
|
||||||
INLINE EggPoint &operator = (const EggPoint ©);
|
INLINE EggPoint &operator = (const EggPoint ©);
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggPolygon : public EggPrimitive {
|
class EXPCL_PANDAEGG EggPolygon : public EggPrimitive {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggPolygon(const string &name = "");
|
INLINE explicit EggPolygon(const string &name = "");
|
||||||
INLINE EggPolygon(const EggPolygon ©);
|
INLINE EggPolygon(const EggPolygon ©);
|
||||||
INLINE EggPolygon &operator = (const EggPolygon ©);
|
INLINE EggPolygon &operator = (const EggPolygon ©);
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ PUBLISHED:
|
|||||||
S_per_vertex
|
S_per_vertex
|
||||||
};
|
};
|
||||||
|
|
||||||
INLINE EggPrimitive(const string &name = "");
|
INLINE explicit EggPrimitive(const string &name = "");
|
||||||
INLINE EggPrimitive(const EggPrimitive ©);
|
INLINE EggPrimitive(const EggPrimitive ©);
|
||||||
INLINE EggPrimitive &operator = (const EggPrimitive ©);
|
INLINE EggPrimitive &operator = (const EggPrimitive ©);
|
||||||
INLINE ~EggPrimitive();
|
INLINE ~EggPrimitive();
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDAEGG EggSAnimData : public EggAnimData {
|
class EXPCL_PANDAEGG EggSAnimData : public EggAnimData {
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE EggSAnimData(const string &name = "");
|
INLINE explicit EggSAnimData(const string &name = "");
|
||||||
INLINE EggSAnimData(const EggSAnimData ©);
|
INLINE EggSAnimData(const EggSAnimData ©);
|
||||||
INLINE EggSAnimData &operator = (const EggSAnimData ©);
|
INLINE EggSAnimData &operator = (const EggSAnimData ©);
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user