Added support in Image::flipVertical for flipping mipmapped imagery
and for flipping compressed imagery.
This commit is contained in:
@@ -181,10 +181,10 @@ class SG_EXPORT Image : public Object
|
||||
}
|
||||
|
||||
/** Flip the image horizontally.*/
|
||||
void flipHorizontal(int image=0);
|
||||
void flipHorizontal();
|
||||
|
||||
/** Flip the image vertically.*/
|
||||
void flipVertical(int image=0);
|
||||
void flipVertical();
|
||||
|
||||
|
||||
/** Ensure image dimensions are a power of two.
|
||||
@@ -236,9 +236,6 @@ class SG_EXPORT Image : public Object
|
||||
};
|
||||
|
||||
|
||||
/** converts a single image into mip mapped version image.*/
|
||||
void computeMipMaps();
|
||||
|
||||
/** return true of this image is translucent - i.e. it has alpha values that are less 1.0 (when normalized).*/
|
||||
bool isImageTranslucent() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user