fix a compile error in the debug/testing particles kernel

This commit is contained in:
erwin coumans
2013-11-04 23:46:03 -08:00
parent fcd5541b04
commit 9d96c24bee

View File

@@ -38,7 +38,7 @@ __kernel void integrateMotionKernel( int numParticles,
__global float4* pPos,
__global float4* pVel,
__global const btSimParams* simParams,
float timeStep GUID_ARG)
float timeStep )
{
int index = get_global_id(0);
if(index >= numParticles)
@@ -112,11 +112,7 @@ __kernel void collideParticlesKernel( __global float4* pPos, __global float4* p
int index = get_global_id(0);
if (index<numPairs)
{
pPos[pairs[index].x].x = -30*index;
pPos[pairs[index].x].z = -30*index;
pPos[pairs[index].y].x = 30*index;
pPos[pairs[index].y].z = 30*index;
}