diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
| commit | d1c812f1162e5fdb13c215792725b2591d7428f5 (patch) | |
| tree | 407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Include/cloth | |
| parent | PhysX 3.4, APEX 1.4 patch release @22121272 (diff) | |
| download | physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip | |
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Include/cloth')
| -rw-r--r-- | PhysX_3.4/Include/cloth/PxCloth.h | 13 | ||||
| -rw-r--r-- | PhysX_3.4/Include/cloth/PxClothCollisionData.h | 9 | ||||
| -rw-r--r-- | PhysX_3.4/Include/cloth/PxClothFabric.h | 13 | ||||
| -rw-r--r-- | PhysX_3.4/Include/cloth/PxClothParticleData.h | 3 | ||||
| -rw-r--r-- | PhysX_3.4/Include/cloth/PxClothTypes.h | 13 |
5 files changed, 35 insertions, 16 deletions
diff --git a/PhysX_3.4/Include/cloth/PxCloth.h b/PhysX_3.4/Include/cloth/PxCloth.h index 40c20c29..6c031a85 100644 --- a/PhysX_3.4/Include/cloth/PxCloth.h +++ b/PhysX_3.4/Include/cloth/PxCloth.h @@ -53,8 +53,9 @@ class PxScene; \brief Solver configuration parameters for the vertical and horizontal stretch phase types. \see PxCloth.setStretchConfig() \see PxClothFabric for information on actual phase data in cloth fabric +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothStretchConfig +struct PX_DEPRECATED PxClothStretchConfig { /** \brief Stiffness of the stretch constraints. @@ -104,8 +105,9 @@ struct PxClothStretchConfig \brief Solver configuration parameters for the tether phases. \see PxCloth.setTetherConfig() \see PxClothFabric for information on actual tether constraints in cloth fabric. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothTetherConfig +struct PX_DEPRECATED PxClothTetherConfig { /** \brief Stiffness of the tether constraints. @@ -136,8 +138,9 @@ struct PxClothTetherConfig \brief Solver configuration parameters for the tether phases. \see PxCloth.setTetherConfig() \see PxClothFabric for information on actual tether constraints in cloth fabric. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothMotionConstraintConfig +struct PX_DEPRECATED PxClothMotionConstraintConfig { /** \brief Scale of motion constraint radii. @@ -184,9 +187,11 @@ These shapes are all treated separately to the main PhysX rigid body scene. \arg Virtual particles can be used to improve collision at a finer scale than the cloth sampling. \arg Motion and separation constraints are used to limit the particle movement within or outside of a sphere. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 + @see PxPhysics.createCloth */ -class PxCloth : public PxActor +class PX_DEPRECATED PxCloth : public PxActor { public: /** diff --git a/PhysX_3.4/Include/cloth/PxClothCollisionData.h b/PhysX_3.4/Include/cloth/PxClothCollisionData.h index 6b2c4fd9..766113c3 100644 --- a/PhysX_3.4/Include/cloth/PxClothCollisionData.h +++ b/PhysX_3.4/Include/cloth/PxClothCollisionData.h @@ -46,8 +46,9 @@ namespace physx \brief Sphere representation used for cloth-sphere and cloth-capsule collision. \details Cloth can collide with spheres and capsules. Each capsule is represented by a pair of spheres with possibly different radii. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothCollisionSphere +struct PX_DEPRECATED PxClothCollisionSphere { PxVec3 pos; //!< position of the sphere PxReal radius; //!< radius of the sphere. @@ -64,8 +65,9 @@ struct PxClothCollisionSphere \brief Plane representation used for cloth-convex collision. \details Cloth can collide with convexes. Each convex is represented by a mask of the planes that make up the convex. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothCollisionPlane +struct PX_DEPRECATED PxClothCollisionPlane { PxVec3 normal; //!< The normal to the plane PxReal distance; //!< The distance to the origin (in the normal direction) @@ -80,8 +82,9 @@ struct PxClothCollisionPlane /** \brief Triangle representation used for cloth-mesh collision. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothCollisionTriangle +struct PX_DEPRECATED PxClothCollisionTriangle { PxVec3 vertex0; PxVec3 vertex1; diff --git a/PhysX_3.4/Include/cloth/PxClothFabric.h b/PhysX_3.4/Include/cloth/PxClothFabric.h index 994e5db9..9a67bc91 100644 --- a/PhysX_3.4/Include/cloth/PxClothFabric.h +++ b/PhysX_3.4/Include/cloth/PxClothFabric.h @@ -45,8 +45,9 @@ namespace physx /** \brief Describe type of phase in cloth fabric. \see PxClothFabric for an explanation of concepts on phase and set. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothFabricPhaseType +struct PX_DEPRECATED PxClothFabricPhaseType { enum Enum { @@ -62,8 +63,9 @@ struct PxClothFabricPhaseType /** \brief References a set of constraints that can be solved in parallel. \see PxClothFabric for an explanation of the concepts on phase and set. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothFabricPhase +struct PX_DEPRECATED PxClothFabricPhase { PxClothFabricPhase(PxClothFabricPhaseType::Enum type = PxClothFabricPhaseType::eINVALID, PxU32 index = 0); @@ -88,8 +90,9 @@ PX_INLINE PxClothFabricPhase::PxClothFabricPhase( /** \brief References all the data required to create a fabric. \see PxPhysics.createClothFabric(), PxClothFabricCooker.getDescriptor() +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -class PxClothFabricDesc +class PX_DEPRECATED PxClothFabricDesc { public: /** \brief The number of particles needed when creating a PxCloth instance from the fabric. */ @@ -174,10 +177,12 @@ The tether anchor is the index of the other particle, and the tether length is t these two particles are allowed to be away from each other. A tether constraint is momentum conserving if the anchor particle has infinite mass (zero inverse weight). +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 + @see The fabric structure can be created from a mesh using PxClothFabricCreate. Alternatively, the fabric data can be saved into a stream (see PxClothFabricCooker.save()) and later created from the stream using PxPhysics.createClothFabric(PxInputStream&). */ -class PxClothFabric : public PxBase +class PX_DEPRECATED PxClothFabric : public PxBase { public: /** diff --git a/PhysX_3.4/Include/cloth/PxClothParticleData.h b/PhysX_3.4/Include/cloth/PxClothParticleData.h index 35285d45..be10ca22 100644 --- a/PhysX_3.4/Include/cloth/PxClothParticleData.h +++ b/PhysX_3.4/Include/cloth/PxClothParticleData.h @@ -50,9 +50,10 @@ struct PxClothParticle; /** \brief Data layout descriptor for reading cloth data from the SDK. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 @see PxCloth.lockParticleData() */ -class PxClothParticleData : public PxLockedData +class PX_DEPRECATED PxClothParticleData : public PxLockedData { public: /** diff --git a/PhysX_3.4/Include/cloth/PxClothTypes.h b/PhysX_3.4/Include/cloth/PxClothTypes.h index ead83841..9cabc497 100644 --- a/PhysX_3.4/Include/cloth/PxClothTypes.h +++ b/PhysX_3.4/Include/cloth/PxClothTypes.h @@ -49,8 +49,10 @@ namespace physx \details Defines flags to turn on/off features of the cloth solver. The flag can be set during the cloth object construction (\see PxPhysics.createCloth() ), or individually after the cloth has been created (\see PxCloth.setClothFlag() ). + + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothFlag +struct PX_DEPRECATED PxClothFlag { enum Enum { @@ -73,8 +75,9 @@ PX_FLAGS_OPERATORS(PxClothFlag::Enum, PxU16) to the position during simulation. \see PxPhysics.createCloth() \see PxCloth.setParticles() + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -struct PxClothParticle +struct PX_DEPRECATED PxClothParticle { PxVec3 pos; //!< position of the particle (in cloth local space) PxReal invWeight; //!< inverse mass of the particle. If set to 0, the particle is fully constrained. @@ -90,9 +93,10 @@ struct PxClothParticle /** \brief Constraints for cloth particle motion. \details Defines a spherical volume to which the motion of a particle should be constrained. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 @see PxCloth.setMotionConstraints() */ -struct PxClothParticleMotionConstraint +struct PX_DEPRECATED PxClothParticleMotionConstraint { PxVec3 pos; //!< Center of the motion constraint sphere (in cloth local space) PxReal radius; //!< Maximum distance the particle can move away from the sphere center. @@ -108,9 +112,10 @@ struct PxClothParticleMotionConstraint /** \brief Separation constraints for cloth particle movement \details Defines a spherical volume such that corresponding particles should stay outside. +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 @see PxCloth.setSeparationConstraints() */ -struct PxClothParticleSeparationConstraint +struct PX_DEPRECATED PxClothParticleSeparationConstraint { PxVec3 pos; //!< Center of the constraint sphere (in cloth local space) PxReal radius; //!< Radius of the constraint sphere such that the particle stay outside of this sphere. |