Small example showing how to build a mex function to call the igl/embree/ambient_occlusion function from matlab. To compile open matlab, `cd` to this directory and issue: compile To run the example, add the IGL_TOOLBOX to your path and issue: example