Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

cos.cpp

Aller à la documentation de ce fichier.
00001 /*
00002  * ExNihilo 3D Engine
00003  * 
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Library General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  *
00018  * Please read AUTHORS file !!!
00019  * 
00020  * $Id: cos.cpp,v 1.3 2002/06/13 15:14:56 binny Exp $
00021  *
00022  */
00023 
00024 #include "cos.h"
00025 
00026 double Cos[360] = {1.000000,0.999848,0.999391,0.998630,0.997564,0.996195,0.994522,
00027         0.992546,0.990268,0.987688,0.984808,0.981627,0.978148,0.974370,
00028         0.970296,0.965926,0.961262,0.956305,0.951057,0.945519,0.939693,
00029         0.933580,0.927184,0.920505,0.913545,0.906308,0.898794,0.891007,
00030         0.882948,0.874620,0.866025,0.857167,0.848048,0.838671,0.829038,
00031         0.819152,0.809017,0.798636,0.788011,0.777146,0.766044,0.754710,
00032         0.743145,0.731354,0.719340,0.707107,0.694658,0.681998,0.669131,
00033         0.656059,0.642788,0.629320,0.615661,0.601815,0.587785,0.573576,
00034         0.559193,0.544639,0.529919,0.515038,0.500000,0.484810,0.469472,
00035         0.453990,0.438371,0.422618,0.406737,0.390731,0.374607,0.358368,
00036         0.342020,0.325568,0.309017,0.292372,0.275637,0.258819,0.241922,
00037         0.224951,0.207912,0.190809,0.173648,0.156434,0.139173,0.121869,
00038         0.104528,0.087156,0.069756,0.052336,0.034899,0.017452,0.000000,
00039         -0.017452,-0.034899,-0.052336,-0.069756,-0.087156,-0.104528,
00040         -0.121869,-0.139173,-0.156434,-0.173648,-0.190809,-0.207912,
00041         -0.224951,-0.241922,-0.258819,-0.275637,-0.292372,-0.309017,
00042         -0.325568,-0.342020,-0.358368,-0.374607,-0.390731,-0.406737,
00043         -0.422618,-0.438371,-0.453990,-0.469472,-0.484810,-0.500000,
00044         -0.515038,-0.529919,-0.544639,-0.559193,-0.573576,-0.587785,
00045         -0.601815,-0.615661,-0.629320,-0.642788,-0.656059,-0.669131,
00046         -0.681998,-0.694658,-0.707107,-0.719340,-0.731354,-0.743145,
00047         -0.754710,-0.766044,-0.777146,-0.788011,-0.798636,-0.809017,
00048         -0.819152,-0.829038,-0.838671,-0.848048,-0.857167,-0.866025,
00049         -0.874620,-0.882948,-0.891007,-0.898794,-0.906308,-0.913545,
00050         -0.920505,-0.927184,-0.933580,-0.939693,-0.945519,-0.951057,
00051         -0.956305,-0.961262,-0.965926,-0.970296,-0.974370,-0.978148,
00052         -0.981627,-0.984808,-0.987688,-0.990268,-0.992546,-0.994522,
00053         -0.996195,-0.997564,-0.998630,-0.999391,-0.999848,-1.000000,
00054         -0.999848,-0.999391,-0.998630,-0.997564,-0.996195,-0.994522,
00055         -0.992546,-0.990268,-0.987688,-0.984808,-0.981627,-0.978148,
00056         -0.974370,-0.970296,-0.965926,-0.961262,-0.956305,-0.951057,
00057         -0.945519,-0.939693,-0.933580,-0.927184,-0.920505,-0.913545,
00058         -0.906308,-0.898794,-0.891007,-0.882948,-0.874620,-0.866025,
00059         -0.857167,-0.848048,-0.838671,-0.829038,-0.819152,-0.809017,
00060         -0.798636,-0.788011,-0.777146,-0.766044,-0.754710,-0.743145,
00061         -0.731354,-0.719340,-0.707107,-0.694658,-0.681998,-0.669131,
00062         -0.656059,-0.642788,-0.629320,-0.615661,-0.601815,-0.587785,
00063         -0.573576,-0.559193,-0.544639,-0.529919,-0.515038,-0.500000,
00064         -0.484810,-0.469472,-0.453990,-0.438371,-0.422618,-0.406737,
00065         -0.390731,-0.374607,-0.358368,-0.342020,-0.325568,-0.309017,
00066         -0.292372,-0.275637,-0.258819,-0.241922,-0.224951,-0.207912,
00067         -0.190809,-0.173648,-0.156434,-0.139173,-0.121869,-0.104528,
00068         -0.087156,-0.069756,-0.052336,-0.034899,-0.017452,-0.000000,
00069         0.017452,0.034899,0.052336,0.069756,0.087156,0.104528,0.121869,
00070         0.139173,0.156434,0.173648,0.190809,0.207912,0.224951,0.241922,
00071         0.258819,0.275637,0.292372,0.309017,0.325568,0.342020,
00072         0.358368,0.374607,0.390731,0.406737,0.422618,0.438371,0.453990,
00073         0.469472,0.484810,0.500000,0.515038,0.529919,0.544639,0.559193,
00074         0.573576,0.587785,0.601815,0.615661,0.629320,0.642788,0.656059,
00075         0.669131,0.681998,0.694658,0.707107,0.719340,0.731354,0.743145,
00076         0.754710,0.766044,0.777146,0.788011,0.798636,0.809017,0.819152,
00077         0.829038,0.838671,0.848048,0.857167,0.866025,0.874620,0.882948,
00078         0.891007,0.898794,0.906308,0.913545,0.920505,0.927184,0.933580,
00079         0.939693,0.945519,0.951057,0.956305,0.961262,0.965926,0.970296,
00080         0.974370,0.978148,0.981627,0.984808,0.987688,0.990268,0.992546,
00081         0.994522,0.996195,0.997564,0.998630,0.999391,0.999848};
00082 

Généré le Tue Oct 28 12:43:30 2003 pour ExNihilo par doxygen 1.3.4