Many changes to jensen.

This commit is contained in:
2017-03-15 10:40:34 -04:00
parent 1faaaf0d63
commit c29d64583f
9 changed files with 167 additions and 63 deletions

View File

@@ -15,5 +15,6 @@ extern vec2 sample_pixel(int i, int j, float w, float h, float a_ratio, float fo
extern void create_coords_system(const vec3 &n, vec3 &nt, vec3 &nb);
extern vec3 sample_hemisphere(const float r1, float r2);
extern void rotate_sample(vec3 & sample, const vec3 & n);
extern vec3 sample_sphere(const vec3 center, const float radius);
#endif