4 #include <gmath/gmath.h>
18 Image(const Image &image);
19 Image &operator =(const Image &image);
22 move constructor: called when you assign
25 Image(Image &&image); // rvalue reference
26 Image &operator =(Image &&image);
28 bool load(const char *fname);
30 Vec4 get_pixel(int x, int y) const;
32 Vec4 lookup_nearest(float u, float v) const;
33 Vec4 lookup_linear(float u, float v, float du, float dv) const;