fix radial and spin blur ino offset

This commit is contained in:
shun-iwasawa 2022-12-05 17:24:10 +09:00 committed by manongjohn
parent 3bdad9b457
commit 32dcc6b87e
2 changed files with 4 additions and 6 deletions

View file

@ -119,9 +119,8 @@ public:
const QPointF center(this->center_.x, this->center_.y);
/* Pixel位置(0.5 1.5 2.5 ...) */
const QPointF p(static_cast<float>(xx) + 0.5f,
static_cast<float>(yy) + 0.5f);
/* Pixel位置 */
const QPointF p(static_cast<float>(xx), static_cast<float>(yy));
/* 中心からPixel位置へのベクトルと長さ */
const QVector2D v(p - center);

View file

@ -111,9 +111,8 @@ public:
}
const QPointF center(this->center_.x, this->center_.y);
/* Pixel位置(0.5 1.5 2.5 ...) */
const QPointF p(static_cast<float>(xx) + 0.5f,
static_cast<float>(yy) + 0.5f);
/* Pixel位置 */
const QPointF p(static_cast<float>(xx), static_cast<float>(yy));
/* 中心からPixel位置へのベクトルと長さ */
const QVector2D v(p - center);