CMU462 Library  1.0
15-462/15-662: Computer Graphics (Fall 2015)
random.h
1 #ifndef CMU462_RANDOM_H
2 #define CMU462_RANDOM_H
3 
4 #include "vector2d.h"
5 #include "vector3d.h"
6 
7 namespace CMU462 {
8 
12 double random_uniform();
13 
17 Vector2D random_disk();
18 
22 Vector3D random_uniform_sphere();
23 
27 Vector3D random_uniform_hemisphere();
28 
33 Vector3D random_cosine_hemisphere();
34 
39 Vector2D random_bcoords();
40 
41 } // namespace CMU462
42 
43 #endif //CMU462_RANDOM_H
Definition: color.h:6