void solveLinksForPosition(int startLink, int numLinks, float kst, float ti)
virtual btSoftBodyLinkData & getLinkData()
virtual SolverTypes getSolverType() const
Return the type of the solver.
virtual bool buildShaders()
virtual ~btOpenCLSoftBodySolverSIMDAware()
virtual void optimize(btAlignedObjectArray< btSoftBody * > &softBodies, bool forceUpdate=false)
Optimize soft bodies in this solver.
void solveCollisionsAndUpdateVelocities(float isolverdt)
btOpenCLSoftBodySolverSIMDAware(cl_command_queue queue, cl_context ctx, bool bUpdateAchchoredNodePos=false)
btSoftBodyLinkDataOpenCLSIMDAware m_linkData
float computeTriangleArea(const Vectormath::Aos::Point3 &vertex0, const Vectormath::Aos::Point3 &vertex1, const Vectormath::Aos::Point3 &vertex2)
void updateConstants(float timeStep)
virtual void solveConstraints(float solverdt)
Solve constraints for a set of soft bodies.