Definition CollideSoftBodyVertexIterator.h:15
CollideSoftBodyVertexIterator(const CollideSoftBodyVertexIterator &)=default
CollideSoftBodyVertexIterator & operator=(const CollideSoftBodyVertexIterator &)=default
Default assignment.
CollideSoftBodyVertexIterator(SoftBodyVertex *inVertices)
Construct using a soft body vertex.
Definition CollideSoftBodyVertexIterator.h:32
float GetInvMass() const
Get the inverse mass of the current vertex.
Definition CollideSoftBodyVertexIterator.h:76
CollideSoftBodyVertexIterator operator+(int inOffset) const
Definition CollideSoftBodyVertexIterator.h:64
void SetCollision(const Plane &inCollisionPlane, int inCollidingShapeIndex) const
Update the collision of the current vertex.
Definition CollideSoftBodyVertexIterator.h:93
Vec3 GetPosition() const
Get the position of the current vertex.
Definition CollideSoftBodyVertexIterator.h:70
bool operator!=(const CollideSoftBodyVertexIterator &inRHS) const
Definition CollideSoftBodyVertexIterator.h:46
CollideSoftBodyVertexIterator()=default
Default constructor.
CollideSoftBodyVertexIterator(const StridedPtr< const Vec3 > &inPosition, const StridedPtr< const float > &inInvMass, const StridedPtr< Plane > &inCollisionPlane, const StridedPtr< float > &inLargestPenetration, const StridedPtr< int > &inCollidingShapeIndex)
Construct using (strided) pointers.
Definition CollideSoftBodyVertexIterator.h:22
CollideSoftBodyVertexIterator & operator++()
Next vertex.
Definition CollideSoftBodyVertexIterator.h:52
bool UpdatePenetration(float inLargestPenetration) const
Definition CollideSoftBodyVertexIterator.h:83
Definition SoftBodyVertex.h:16