equal
deleted
inserted
replaced
12 * GNU General Public License for more details. |
12 * GNU General Public License for more details. |
13 * |
13 * |
14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software |
15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 * |
|
18 * File created on 03/10/2010. |
|
19 */ |
17 */ |
20 |
18 |
21 |
19 |
22 #import <CoreGraphics/CoreGraphics.h> |
20 #import <CoreGraphics/CoreGraphics.h> |
|
21 |
23 |
22 |
24 #define degreesToRadians(x) ( M_PI * x / 180.0) |
23 #define degreesToRadians(x) ( M_PI * x / 180.0) |
25 #define radiansToDegrees(x) (180.0 * x / M_PI ) |
24 #define radiansToDegrees(x) (180.0 * x / M_PI ) |
26 |
25 |
27 #define HWX(x) (int)(x-screen.size.width/2)/HW_zoomFactor() |
26 #define HWX(x) (int)(x-screen.size.width/2)/HW_zoomFactor() |