Beispiel #1
0
void BvhTetrahedronSystem::update()
{
    masssystem::useAnchoredVelocity((float3 *)deviceV(), 
                                (float3 *)deviceVa(),
								(uint *)deviceAnchor(),
								numPoints());
	formTetrahedronAabbs();
    CudaLinearBvh::update();
}
Beispiel #2
0
void BvhTriangleSystem::update()
{
    formTetrahedronAabbs();
    CudaLinearBvh::update();
}