File indexing completed on 2024-05-12 15:58:15
0001 /* 0002 * SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 * 0006 * adopted from here http://web.archive.org/web/20090728150504/http://www.snippetcenter.org/en/a-fast-atan2-function-s1868.aspx 0007 */ 0008 0009 0010 #ifndef _KIS_IMAGE_FAST_ 0011 #define _KIS_IMAGE_FAST_ 0012 0013 #include <QtGlobal> 0014 0015 #include "kritaimage_export.h" 0016 0017 /** 0018 * This namespace contains fast but inaccurate version of mathematical function. 0019 */ 0020 namespace KisFastMath { 0021 0022 /// atan2 replacement 0023 KRITAIMAGE_EXPORT qreal atan2(qreal y, qreal x); 0024 } 0025 0026 #endif