projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support for floating point images => needed for skybox
[demo]
/
src
/
image.h
diff --git
a/src/image.h
b/src/image.h
index
d39e750
..
b09d5e7
100644
(file)
--- a/
src/image.h
+++ b/
src/image.h
@@
-5,7
+5,10
@@
class Image {
public:
int w;
int h;
- unsigned char *pixels;
+ int psz;
+
+ bool is_float;
+ void *pixels;
Image();
~Image();