#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"
Go to the source code of this file.
|
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) |
|
#define MSTRINGIFY |
( |
|
A | ) |
A |
__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 |
|
) |
| |