mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
*** empty log message ***
This commit is contained in:
parent
de5434a487
commit
1749336099
@ -29,14 +29,14 @@ class DisplayRegion;
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class EXPCL_PANDA ImageBuffer : public dDrawable, public Namable
|
class EXPCL_PANDA ImageBuffer : public dDrawable, public Namable
|
||||||
{
|
{
|
||||||
public:
|
PUBLISHED:
|
||||||
|
|
||||||
ImageBuffer( void ) : dDrawable() { }
|
ImageBuffer( void ) : dDrawable() { }
|
||||||
virtual ~ImageBuffer( void ) { }
|
virtual ~ImageBuffer( void ) { }
|
||||||
|
|
||||||
virtual bool read( const string& name ) = 0;
|
virtual bool read( const string& name ) = 0;
|
||||||
virtual bool write( const string& name = "" ) const = 0;
|
virtual bool write( const string& name = "" ) const = 0;
|
||||||
|
|
||||||
|
public:
|
||||||
virtual void config( void ) { WriteableConfigurable::config(); }
|
virtual void config( void ) { WriteableConfigurable::config(); }
|
||||||
|
|
||||||
virtual void copy(GraphicsStateGuardianBase *, const DisplayRegion *)=0;
|
virtual void copy(GraphicsStateGuardianBase *, const DisplayRegion *)=0;
|
||||||
|
@ -58,6 +58,7 @@ public:
|
|||||||
WM_repeat,
|
WM_repeat,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PUBLISHED:
|
||||||
Texture();
|
Texture();
|
||||||
~Texture();
|
~Texture();
|
||||||
|
|
||||||
@ -65,6 +66,7 @@ public:
|
|||||||
virtual bool read(const string &name, const string &gray);
|
virtual bool read(const string &name, const string &gray);
|
||||||
virtual bool write(const string& name = "") const;
|
virtual bool write(const string& name = "") const;
|
||||||
|
|
||||||
|
public:
|
||||||
bool load( const PNMImage& pnmimage );
|
bool load( const PNMImage& pnmimage );
|
||||||
bool store( PNMImage& pnmimage ) const;
|
bool store( PNMImage& pnmimage ) const;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ private:
|
|||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearCylinderVortexForce(float radius = 1.0f,
|
LinearCylinderVortexForce(float radius = 1.0f,
|
||||||
float length = 0.0f,
|
float length = 0.0f,
|
||||||
float coef = 1.0f,
|
float coef = 1.0f,
|
||||||
|
@ -21,7 +21,7 @@ class BamReader;
|
|||||||
// Description : Pure virtual class for sinks and sources
|
// Description : Pure virtual class for sinks and sources
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class EXPCL_PANDAPHYSICS LinearDistanceForce : public LinearForce {
|
class EXPCL_PANDAPHYSICS LinearDistanceForce : public LinearForce {
|
||||||
public:
|
PUBLISHED:
|
||||||
INLINE void set_radius(float r);
|
INLINE void set_radius(float r);
|
||||||
INLINE void set_falloff_type(FalloffType ft);
|
INLINE void set_falloff_type(FalloffType ft);
|
||||||
INLINE void set_force_center(const LPoint3f& p);
|
INLINE void set_force_center(const LPoint3f& p);
|
||||||
|
@ -28,7 +28,7 @@ protected:
|
|||||||
LinearForce(float a, bool mass);
|
LinearForce(float a, bool mass);
|
||||||
LinearForce(const LinearForce& copy);
|
LinearForce(const LinearForce& copy);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
~LinearForce(void);
|
~LinearForce(void);
|
||||||
|
|
||||||
INLINE void set_amplitude(const float a);
|
INLINE void set_amplitude(const float a);
|
||||||
|
@ -19,7 +19,7 @@ private:
|
|||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
virtual LVector3f get_child_vector(const PhysicsObject *);
|
virtual LVector3f get_child_vector(const PhysicsObject *);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearFrictionForce(float coef = 1.0f, float a = 1.0f, bool m = false);
|
LinearFrictionForce(float coef = 1.0f, float a = 1.0f, bool m = false);
|
||||||
LinearFrictionForce(const LinearFrictionForce ©);
|
LinearFrictionForce(const LinearFrictionForce ©);
|
||||||
virtual ~LinearFrictionForce(void);
|
virtual ~LinearFrictionForce(void);
|
||||||
|
@ -18,7 +18,7 @@ private:
|
|||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearJitterForce(float a = 1.0f, bool m = false);
|
LinearJitterForce(float a = 1.0f, bool m = false);
|
||||||
LinearJitterForce(const LinearJitterForce ©);
|
LinearJitterForce(const LinearJitterForce ©);
|
||||||
virtual ~LinearJitterForce(void);
|
virtual ~LinearJitterForce(void);
|
||||||
|
@ -26,7 +26,7 @@ protected:
|
|||||||
virtual LVector3f get_child_vector(const PhysicsObject *po) = 0;
|
virtual LVector3f get_child_vector(const PhysicsObject *po) = 0;
|
||||||
virtual LinearForce *make_copy(void) = 0;
|
virtual LinearForce *make_copy(void) = 0;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
virtual ~LinearRandomForce(void);
|
virtual ~LinearRandomForce(void);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -17,7 +17,7 @@ private:
|
|||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearSinkForce(const LPoint3f& p, FalloffType f, float r, float a = 1.0f,
|
LinearSinkForce(const LPoint3f& p, FalloffType f, float r, float a = 1.0f,
|
||||||
bool m = true);
|
bool m = true);
|
||||||
LinearSinkForce(void);
|
LinearSinkForce(void);
|
||||||
|
@ -17,7 +17,7 @@ private:
|
|||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearSourceForce(const LPoint3f& p, FalloffType f, float r, float a = 1.0f,
|
LinearSourceForce(const LPoint3f& p, FalloffType f, float r, float a = 1.0f,
|
||||||
bool mass = true);
|
bool mass = true);
|
||||||
LinearSourceForce(void);
|
LinearSourceForce(void);
|
||||||
|
@ -25,7 +25,7 @@ private:
|
|||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearUserDefinedForce(LVector3f (*proc)(const PhysicsObject *) = NULL,
|
LinearUserDefinedForce(LVector3f (*proc)(const PhysicsObject *) = NULL,
|
||||||
float a = 1.0f,
|
float a = 1.0f,
|
||||||
bool md = false);
|
bool md = false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user