HomeSort by relevance Sort by last modified time
    Searched defs:btSoftBody (Results 1 - 5 of 5) sorted by null

  /external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
Softbody.java 141 public static float ImplicitSolve(btSoftBody.ImplicitFn fn, Vector3 a, Vector3 b, float accuracy, int maxiterations) {
142 return SoftbodyJNI.ImplicitSolve__SWIG_0(btSoftBody.ImplicitFn.getCPtr(fn), fn, a, b, accuracy, maxiterations);
145 public static float ImplicitSolve(btSoftBody.ImplicitFn fn, Vector3 a, Vector3 b, float accuracy) {
146 return SoftbodyJNI.ImplicitSolve__SWIG_1(btSoftBody.ImplicitFn.getCPtr(fn), fn, a, b, accuracy);
153 public static btDbvtAabbMm VolumeOf(btSoftBody.Face f, float margin) {
154 return new btDbvtAabbMm(SoftbodyJNI.VolumeOf__SWIG_0(btSoftBody.Face.getCPtr(f), f, margin), true);
157 public static Vector3 CenterOf(btSoftBody.Face f) {
158 return SoftbodyJNI.CenterOf(btSoftBody.Face.getCPtr(f), f);
169 public static void EvaluateMedium(btSoftBodyWorldInfo wfi, Vector3 x, btSoftBody.sMedium medium) {
170 SoftbodyJNI.EvaluateMedium(btSoftBodyWorldInfo.getCPtr(wfi), wfi, x, btSoftBody.sMedium.getCPtr(medium), medium)
    [all...]
btSoftBodyHelpers.java 63 public static void Draw(btSoftBody psb, btIDebugDraw idraw, int drawflags) {
64 SoftbodyJNI.btSoftBodyHelpers_Draw__SWIG_0(btSoftBody.getCPtr(psb), psb, btIDebugDraw.getCPtr(idraw), idraw, drawflags);
67 public static void Draw(btSoftBody psb, btIDebugDraw idraw) {
68 SoftbodyJNI.btSoftBodyHelpers_Draw__SWIG_1(btSoftBody.getCPtr(psb), psb, btIDebugDraw.getCPtr(idraw), idraw);
71 public static void DrawInfos(btSoftBody psb, btIDebugDraw idraw, boolean masses, boolean areas, boolean stress) {
72 SoftbodyJNI.btSoftBodyHelpers_DrawInfos(btSoftBody.getCPtr(psb), psb, btIDebugDraw.getCPtr(idraw), idraw, masses, areas, stress);
75 public static void DrawNodeTree(btSoftBody psb, btIDebugDraw idraw, int mindepth, int maxdepth) {
76 SoftbodyJNI.btSoftBodyHelpers_DrawNodeTree__SWIG_0(btSoftBody.getCPtr(psb), psb, btIDebugDraw.getCPtr(idraw), idraw, mindepth, maxdepth);
79 public static void DrawNodeTree(btSoftBody psb, btIDebugDraw idraw, int mindepth) {
80 SoftbodyJNI.btSoftBodyHelpers_DrawNodeTree__SWIG_1(btSoftBody.getCPtr(psb), psb, btIDebugDraw.getCPtr(idraw), idraw, mindepth)
    [all...]
btSoftBody.java 22 public class btSoftBody extends btCollisionObject {
25 protected btSoftBody(final String className, long cPtr, boolean cMemoryOwn) {
30 /** Construct a new btSoftBody, normally you should not need this constructor it's intended for low-level usage. */
31 public btSoftBody(long cPtr, boolean cMemoryOwn) {
32 this("btSoftBody", cPtr, cMemoryOwn);
43 public static long getCPtr(btSoftBody obj) {
527 public void setBody(btSoftBody value) {
528 SoftbodyJNI.btSoftBody_sRayCast_body_set(swigCPtr, this, btSoftBody.getCPtr(value), value);
531 public btSoftBody getBody() {
533 return (cPtr == 0) ? null : new btSoftBody(cPtr, false)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
btSoftBody.cpp 15 ///btSoftBody implementation by Nathanael Presson
24 btSoftBody::btSoftBody(btSoftBodyWorldInfo* worldInfo,int node_count, const btVector3* x, const btScalar* m)
55 btSoftBody::btSoftBody(btSoftBodyWorldInfo* worldInfo)
62 void btSoftBody::initDefaults()
117 btSoftBody::~btSoftBody()
131 bool btSoftBody::checkLink(int node0,int node1) const
137 bool btSoftBody::checkLink(const Node* node0,const Node* node1) cons
    [all...]
btSoftBody.h 15 ///btSoftBody implementation by Nathanael Presson
69 ///The btSoftBody is an class to simulate cloth and volumetric soft bodies.
70 ///There is two-way interaction between btSoftBody and btRigidBody/btCollisionObject.
71 class btSoftBody : public btCollisionObject
165 btSoftBody* body; /// soft body
442 if(m_soft) btSoftBody::clusterVImpulse(m_soft,rpos,impulse);
447 if(m_soft) btSoftBody::clusterDImpulse(m_soft,rpos,impulse);
465 if(m_soft) btSoftBody::clusterVAImpulse(m_soft,impulse);
470 if(m_soft) btSoftBody::clusterDAImpulse(m_soft,impulse);
480 if(m_soft) btSoftBody::clusterDCImpulse(m_soft,impulse)
    [all...]

Completed in 341 milliseconds