Remove useless couts
This commit is contained in:
parent
7e67bebae2
commit
27274c7242
@ -752,13 +752,9 @@ protected:
|
|||||||
auto width = renderer->getWidth();
|
auto width = renderer->getWidth();
|
||||||
auto height = renderer->getHeight();
|
auto height = renderer->getHeight();
|
||||||
if(width > height) {
|
if(width > height) {
|
||||||
std::cout << "WIDTH IS LARGER!" << std::endl;
|
|
||||||
std::cout << "og_x: " << og_x << std::endl;
|
|
||||||
auto multiplier = static_cast<double>(width)/static_cast<double>(height);
|
auto multiplier = static_cast<double>(width)/static_cast<double>(height);
|
||||||
std::cout << "MULTIPLIER: " << multiplier << std::endl;
|
|
||||||
x_ = og_x * multiplier;
|
x_ = og_x * multiplier;
|
||||||
w_ = og_w * multiplier;
|
w_ = og_w * multiplier;
|
||||||
std::cout << "X_: " << x_ << std::endl;
|
|
||||||
} else {
|
} else {
|
||||||
x_ = og_x;
|
x_ = og_x;
|
||||||
w_ = og_w;
|
w_ = og_w;
|
||||||
|
Loading…
Reference in New Issue
Block a user