00001 /* 00002 * Util.h 00003 * Objective3D 00004 * 00005 * Created by charlie on 5/28/09. 00006 * Copyright 2009 One More Muse. All rights reserved. 00007 * 00008 */ 00009 #include "Math.h" 00010 00011 /*enum { 00012 XAXIS, 00013 YAXIS, 00014 ZAXIS 00015 };*/ 00016 00017 #define XAXIS [O3D_Vector3 vectorWithX:1.0f Y:0.0f Z:0.0f] 00018 #define YAXIS [O3D_Vector3 vectorWithX:0.0f Y:1.0f Z:0.0f] 00019 #define ZAXIS [O3D_Vector3 vectorWithX:0.0f Y:0.0f Z:1.0f] 00020 00021 float degreesToRadians(float degrees);