Forked from: https://uk.mathworks.com/matlabcentral/fileexchange/41504-ray-casting-for-deformable-triangular-3d-meshes Some minor bugs fixed.
Ray casting for deformable triangular 3D meshes version 1.2 (257 KB) by Vipin Vijayan
Ray casting or collision detection for deformable triangular 3D meshes.