Bullet Collision Detection & Physics Library
Macros | Functions | Variables
btSoftBodySolver_DX11.cpp File Reference
#include "BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h"
#include "vectormath/vmInclude.h"
#include "btSoftBodySolver_DX11.h"
#include "btSoftBodySolverVertexBuffer_DX11.h"
#include "BulletSoftBody/btSoftBody.h"
#include "BulletCollision/CollisionShapes/btCapsuleShape.h"
#include <stdio.h>
#include "HLSL/PrepareLinks.hlsl"
#include "HLSL/UpdatePositionsFromVelocities.hlsl"
#include "HLSL/SolvePositions.hlsl"
#include "HLSL/UpdateNodes.hlsl"
#include "HLSL/UpdatePositions.hlsl"
#include "HLSL/UpdateConstants.hlsl"
#include "HLSL/Integrate.hlsl"
#include "HLSL/ApplyForces.hlsl"
#include "HLSL/UpdateNormals.hlsl"
#include "HLSL/OutputToVertexArray.hlsl"
#include "HLSL/VSolveLinks.hlsl"
#include "HLSL/ComputeBounds.hlsl"
#include "HLSL/SolveCollisionsAndUpdateVelocities.hlsl"
#include "BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h"
Include dependency graph for btSoftBodySolver_DX11.cpp:

Go to the source code of this file.

Macros

#define MSTRINGIFY(A)   #A
 

Functions

static char m_dx11LinkStrength (d3dDevice, d3dDeviceContext,&m_linkStrength, false)
 
static char m_dx11LinksMassLSC (d3dDevice, d3dDeviceContext,&m_linksMassLSC, false)
 
static char m_dx11LinksRestLengthSquared (d3dDevice, d3dDeviceContext,&m_linksRestLengthSquared, false)
 
static char m_dx11LinksCLength (d3dDevice, d3dDeviceContext,&m_linksCLength, false)
 
static char m_dx11LinksLengthRatio (d3dDevice, d3dDeviceContext,&m_linksLengthRatio, false)
 
static char m_dx11LinksRestLength (d3dDevice, d3dDeviceContext,&m_linksRestLength, false)
 
static char m_dx11LinksMaterialLinearStiffnessCoefficient (d3dDevice, d3dDeviceContext,&m_linksMaterialLinearStiffnessCoefficient, false)
 
static Vectormath::Aos::Vector3 toVector3 (const btVector3 &vec)
 
static Vectormath::Aos::Transform3 toTransform3 (const btTransform &transform)
 

Variables

static char * PrepareLinksHLSLString
 

Macro Definition Documentation

#define MSTRINGIFY (   A)    #A

Definition at line 24 of file btSoftBodySolver_DX11.cpp.

Function Documentation

static char m_dx11LinksCLength ( d3dDevice  ,
d3dDeviceContext  ,
m_linksCLength,
false   
)
static char m_dx11LinksLengthRatio ( d3dDevice  ,
d3dDeviceContext  ,
m_linksLengthRatio,
false   
)
static char m_dx11LinksMassLSC ( d3dDevice  ,
d3dDeviceContext  ,
m_linksMassLSC,
false   
)
static char m_dx11LinksMaterialLinearStiffnessCoefficient ( d3dDevice  ,
d3dDeviceContext  ,
m_linksMaterialLinearStiffnessCoefficient,
false   
)

Definition at line 61 of file btSoftBodySolver_DX11.cpp.

static char m_dx11LinksRestLength ( d3dDevice  ,
d3dDeviceContext  ,
m_linksRestLength,
false   
)
static char m_dx11LinksRestLengthSquared ( d3dDevice  ,
d3dDeviceContext  ,
m_linksRestLengthSquared,
false   
)
static char m_dx11LinkStrength ( d3dDevice  ,
d3dDeviceContext  ,
m_linkStrength,
false   
)
static
static Vectormath::Aos::Transform3 toTransform3 ( const btTransform transform)
static

Definition at line 2140 of file btSoftBodySolver_DX11.cpp.

static Vectormath::Aos::Vector3 toVector3 ( const btVector3 vec)
static

Definition at line 71 of file btSoftBodySolver_DX11.cpp.

Variable Documentation

char* PrepareLinksHLSLString
static
Initial value:
=
# 26 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
# 28 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* SolvePositionsHLSLString =
# 30 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* UpdateNodesHLSLString =
# 32 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* UpdatePositionsHLSLString =
# 34 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* UpdateConstantsHLSLString =
# 36 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* IntegrateHLSLString =
# 38 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* ApplyForcesHLSLString =
# 40 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* UpdateNormalsHLSLString =
# 42 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* OutputToVertexArrayHLSLString =
# 44 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* VSolveLinksHLSLString =
# 46 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* ComputeBoundsHLSLString =
# 48 "/usr/local/tmp/bullet-2.82-r2704/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.cpp" 2
static char* SolveCollisionsAndUpdateVelocitiesHLSLString =
btSoftBodyLinkDataDX11::btSoftBodyLinkDataDX11( ID3D11Device *d3dDevice, ID3D11DeviceContext *d3dDeviceContext ) :
m_dx11Links( d3dDevice, d3dDeviceContext, &m_links, false )
static char * UpdatePositionsFromVelocitiesHLSLString
btSoftBodyLinkDataDX11(ID3D11Device *d3dDevice, ID3D11DeviceContext *d3dDeviceContext)

Definition at line 25 of file btSoftBodySolver_DX11.cpp.