This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <assert.h> | |
| #include <math.h> | |
| #include <vector> | |
| // You can provide your own vec3 type, but it must expose | |
| // the following interface. | |
| struct vec3 | |
| { | |
| float x,y,z; | |
| }; |