All pastes #387566 Raw Edit

henke37

public cpp v1 · immutable
·published 2007-03-09 13:48 UTC
rendered paste body
#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