"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "veusz/helpers/src/threed/scene.h" between
veusz-3.0.1.tar.gz and veusz-3.1.tar.gz

About: Veusz is a GUI scientific plotting and graphing package.

scene.h  (veusz-3.0.1):scene.h  (veusz-3.1)
skipping to change at line 69 skipping to change at line 69
// add a light to a list // add a light to a list
void addLight(Vec3 posn, QColor col, double intensity); void addLight(Vec3 posn, QColor col, double intensity);
// render scene to painter in coordinate range given // render scene to painter in coordinate range given
// (if scale<=0 then automatic scaling) // (if scale<=0 then automatic scaling)
void render(Object* root, void render(Object* root,
QPainter* painter, const Camera& cam, QPainter* painter, const Camera& cam,
double x1, double y1, double x2, double y2, double scale); double x1, double y1, double x2, double y2, double scale);
// find widget id of pixel painted by drawing scene at (x, y) // find widget id of pixel painted by drawing scene at (x, y)
long idPixel(Object* root, QPainter* painter, const Camera& cam, unsigned long idPixel(Object* root, QPainter* painter, const Camera& cam,
double x1, double y1, double x2, double y2, double scale, double x1, double y1, double x2, double y2, double scale
double scaling, int x, int y); ,
double scaling, int x, int y);
public: public:
// last screen matrix // last screen matrix
Mat3 screenM; Mat3 screenM;
private: private:
// calculate lighting norms for triangles // calculate lighting norms for triangles
void calcLighting(); void calcLighting();
void calcLightingTriangle(Fragment& frag); void calcLightingTriangle(Fragment& frag);
void calcLightingLine(Fragment& frag); void calcLightingLine(Fragment& frag);
 End of changes. 1 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)