mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 19:09:23 -05:00
Jenkinswarnings (#419)
* Remove more warnings * Removing more warnings * More warning fixes * More warnings * More warnings * Update ghoul
This commit is contained in:
@@ -118,12 +118,12 @@ void PixelRegion::scale(double s) {
|
||||
|
||||
void PixelRegion::downscalePow2(int exponent, PixelCoordinate wrt) {
|
||||
start += wrt;
|
||||
start.x = ceil(start.x / static_cast<float>(pow(2, exponent)));// >>= exponent;
|
||||
start.y = ceil(start.y / static_cast<float>(pow(2, exponent)));// >>= exponent;
|
||||
start.x = static_cast<int>(ceil(start.x / static_cast<float>(pow(2, exponent))));
|
||||
start.y = static_cast<int>(ceil(start.y / static_cast<float>(pow(2, exponent))));
|
||||
numPixels.x =
|
||||
ceil(numPixels.x / static_cast<float>(pow(2, exponent)));// >>= exponent;
|
||||
static_cast<int>(ceil(numPixels.x / static_cast<float>(pow(2, exponent))));
|
||||
numPixels.y =
|
||||
ceil(numPixels.y / static_cast<float>(pow(2, exponent)));// >>= exponent;
|
||||
static_cast<int>(ceil(numPixels.y / static_cast<float>(pow(2, exponent))));
|
||||
start -= wrt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user