mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-02 00:20:22 +02:00
Removed bad shadows.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user