D:/Zythum/DinoKod/Common/Math.cpp

00001 #include "Common/Math.h"
00002 /*
00003 //--------------------------------------------------------------------------------------------------------------------------
00004 __declspec(naked) float FASTCALL FastAbs( float a )
00005 {
00006         __asm
00007         {
00008                 fld             DWORD PTR [esp+4] 
00009                 fabs
00010                 ret 4
00011         }
00012 }
00013 
00014 //--------------------------------------------------------------------------------------------------------------------------
00015 __declspec(naked) float FASTCALL FastSin( float a )
00016 {
00017         __asm
00018         {
00019                 fld             DWORD PTR [esp+4] 
00020                 fsin
00021                 ret 4
00022         }
00023 }
00024 
00025 //--------------------------------------------------------------------------------------------------------------------------
00026 __declspec(naked) float FASTCALL FastCos( float a )
00027 {
00028         __asm
00029         {
00030                 fld             DWORD PTR [esp+4] 
00031                 fcos
00032                 ret 4
00033         }
00034 }
00035 */

Generated on Sun Mar 25 20:02:10 2007 for Zythum Project by  doxygen 1.5.1-p1