Download vendor/libigl/tutorial/603_MEX/compileMEX.m from AVSim/simulation-package: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/tutorial/603_MEX/compileMEX.m
- Command line
-
hf download hf://datasets/AVSim/simulation-package/vendor/libigl/tutorial/603_MEX/compileMEX.m
-
curl -L -o compileMEX.m https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/tutorial/603_MEX/compileMEX.m
299 Bytes
| %% Compile the wrapper for readOBJ | |
| mex readOBJ_mex.cpp ... | |
| -I../../include ... | |
| -I/opt//include/eigen3 %% Change this path to point to your copy of Eigen | |
| %% Load an OBJ mesh | |
| [V,F] = readOBJ_mex('../shared/bumpy-cube.obj'); | |
| %% Plot the mesh | |
| trimesh(F,V(:,1),V(:,2),V(:,3)); | |
| axis vis3d; | |