Bullet Collision Detection & Physics Library
Classes | Macros | Functions | Variables
MiniCLTaskWrap.cpp File Reference
#include <MiniCL/cl_MiniCL_Defs.h>
#include "../OpenCLC10/ApplyForces.cl"
#include "../OpenCLC10/Integrate.cl"
#include "../OpenCLC10/PrepareLinks.cl"
#include "../OpenCLC10/SolvePositions.cl"
#include "../OpenCLC10/UpdateNodes.cl"
#include "../OpenCLC10/UpdateNormals.cl"
#include "../OpenCLC10/UpdatePositions.cl"
#include "../OpenCLC10/UpdatePositionsFromVelocities.cl"
#include "../OpenCLC10/VSolveLinks.cl"
#include "../OpenCLC10/UpdateFixedVertexPositions.cl"
Include dependency graph for MiniCLTaskWrap.cpp:

Go to the source code of this file.

Classes

struct  CollisionObjectIndices
 
struct  CollisionShapeDescription
 Entry in the collision shape array. More...
 

Macros

#define MSTRINGIFY(A)   A
 

Functions

float mydot3a (float4 a, float4 b)
 
float4 matrixVectorMul (float4 matrix[4], float4 vector)
 
__kernel void SolveCollisionsAndUpdateVelocitiesKernel (const int numNodes, const float isolverdt, __global int *g_vertexClothIdentifier, __global float4 *g_vertexPreviousPositions, __global float *g_perClothFriction, __global float *g_clothDampingFactor, __global CollisionObjectIndices *g_perClothCollisionObjectIndices, __global CollisionShapeDescription *g_collisionObjectDetails, __global float4 *g_vertexForces, __global float4 *g_vertexVelocities, __global float4 *g_vertexPositions GUID_ARG)
 
 MINICL_REGISTER (SolveCollisionsAndUpdateVelocitiesKernel)
 

Variables

__constant int CAPSULE_SHAPE_PROXYTYPE = 10
 

Macro Definition Documentation

#define MSTRINGIFY (   A)    A

Definition at line 18 of file MiniCLTaskWrap.cpp.

Function Documentation

float4 matrixVectorMul ( float4  matrix[4],
float4  vector 
)

Definition at line 84 of file MiniCLTaskWrap.cpp.

float mydot3a ( float4  a,
float4  b 
)

Definition at line 45 of file MiniCLTaskWrap.cpp.

__kernel void SolveCollisionsAndUpdateVelocitiesKernel ( const int  numNodes,
const float  isolverdt,
__global int *  g_vertexClothIdentifier,
__global float4 g_vertexPreviousPositions,
__global float *  g_perClothFriction,
__global float *  g_clothDampingFactor,
__global CollisionObjectIndices g_perClothCollisionObjectIndices,
__global CollisionShapeDescription g_collisionObjectDetails,
__global float4 g_vertexForces,
__global float4 g_vertexVelocities,
__global float4 *g_vertexPositions  GUID_ARG 
)

Definition at line 99 of file MiniCLTaskWrap.cpp.

Variable Documentation

__constant int CAPSULE_SHAPE_PROXYTYPE = 10

Definition at line 81 of file MiniCLTaskWrap.cpp.