henke37
public cpp v1 · immutable#ifndef UNFOCUS_H#define UNFOCUS_Hstruct point { float r,g,b;}struct beam { float k; float dir;//the way relative to the YX plane(the lens) it goes float rot;//relative to the YZ plane}void unfocus( const point *inpixels, unsigned const int &inwidth, unsigned const int &inheigth, const point *outpixels, unsigned const int &outwidth, unsigned const int &outheigth, unsigned const int &lensfocus, unsigned const int &a, unsigned const int &b);#endif