projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick backup
[demo]
/
src
/
image.h
diff --git
a/src/image.h
b/src/image.h
index
ec5228d
..
3f3ba54
100644
(file)
--- a/
src/image.h
+++ b/
src/image.h
@@
-27,8
+27,10
@@
public:
bool load(const char *fname);
bool load(const char *fname);
+ Vec4 get_pixel(int x, int y) const;
+
Vec4 lookup_nearest(float u, float v) const;
Vec4 lookup_nearest(float u, float v) const;
- //TODO lookup_linear
+ Vec4 lookup_linear(float u, float v, float du, float dv) const;
};
#endif // IMAGE_H_
\ No newline at end of file
};
#endif // IMAGE_H_
\ No newline at end of file