X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=clouds.hpp;fp=clouds.hpp;h=1a8496d6aa8764107135af589c7e6d9709f99f33;hb=d32d6bffa25633fc1060e30c88b7739ed93f87ed;hp=0000000000000000000000000000000000000000;hpb=76e0d790f76df0c32b09118870145ec5f9eaf153;p=opengl.git diff --git a/clouds.hpp b/clouds.hpp new file mode 100644 index 0000000..1a8496d --- /dev/null +++ b/clouds.hpp @@ -0,0 +1,9 @@ +static const int CLOUD_DIM = 16; +struct Clouds { + char cld[CLOUD_DIM][CLOUD_DIM][CLOUD_DIM]; + float contDist[CLOUD_DIM][CLOUD_DIM][CLOUD_DIM]; +}; + + +// calculate continuous distribution +void calcContDist(Clouds *clds);