EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GaMath.cpp
Go to the documentation of this file.
1 /*
2  This file is part of the Gangsta Wrapper physics SDK abstraction library suite.
3  Copyright (C) 2005 Ed Jones (Green Eyed Monster)
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19  See also the files README.txt and LICENSE.txt in the root directory of this module.
20 */
21 #include "GaMath.h"
22 
23 using namespace Ga;
24 
25 const GaFloat Math::GaPi = 3.1415926535897932384626433832795;
26 const GaFloat Math::GaDegreesInRadian = 180.0 / GaPi;
27 const GaFloat Math::GaRadianInDegree = GaPi / 180.0;
28 const GaFloat Math::GaEpsilon = FLT_EPSILON;
29 const GaFloat Math::GaMinFloat = FLT_MIN;
30 const GaFloat Math::GaMaxFloat = FLT_MAX;
static const GaExport GaFloat GaPi
Definition: GaMath.h:31
static const GaExport GaFloat GaMinFloat
Definition: GaMath.h:35
static const GaExport GaFloat GaEpsilon
Definition: GaMath.h:34
Definition: GaMath.h:26
static const GaExport GaFloat GaDegreesInRadian
Definition: GaMath.h:32
static const GaExport GaFloat GaMaxFloat
Definition: GaMath.h:36
double GaFloat
Definition: GaPreReqs.h:69
static const GaExport GaFloat GaRadianInDegree
Definition: GaMath.h:33