Removed bad shadows.

This commit is contained in:
Miroslav Bendík
2012-08-25 13:27:40 +02:00
parent 1aee368837
commit 5be190b5a1
3 changed files with 13 additions and 1 deletions

View File

@ -10,11 +10,15 @@
#ifndef PIXELATTRIBUTES_H_ADZ35GYF
#define PIXELATTRIBUTES_H_ADZ35GYF
#include <limits>
#include <vector>
struct PixelAttribute {
PixelAttribute(): height(0) {};
PixelAttribute(): height(std::numeric_limits<int>::min()) {};
int height;
inline bool valid_height() {
return height != std::numeric_limits<int>::min();
}
};
class PixelAttributes