mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
(minor)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1610 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -75,9 +75,9 @@ RealSize Rotation::trSizeToBB(const RealSize& size) const {
|
||||
}
|
||||
|
||||
RealRect Rotation::trRectToBB(const RealRect& r) const {
|
||||
const bool special_case_optimization = false;
|
||||
double x = r.x * zoomX, y = r.y * zoomY;
|
||||
double w = r.width * zoomX, h = r.height * zoomY;
|
||||
const bool special_case_optimization = false;
|
||||
if (special_case_optimization && is_rad0(angle)) {
|
||||
return RealRect(origin.x + x, origin.y + y, w, h);
|
||||
} else if (special_case_optimization && is_rad180(angle)) {
|
||||
|
||||
Reference in New Issue
Block a user