EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EvE::Trig Namespace Reference

Functions

double Deg2Rad (double deg)
 
double Rad2Deg (double rad)
 

Variables

const double E = 2.71828182845904523536028747135
 
const double Pi = 3.1415926535897932384626433832795
 
const double Pi2 = 6.28318530717958647692528676656
 
const double RadiansInDegrees = 0.0174532925199432957692369076849
 
const double DegreesInRadians = 57.2957795130823208767981548141
 

Function Documentation

double EvE::Trig::Deg2Rad ( double  deg)
inline

Definition at line 25 of file Trig.h.

Referenced by DungeonMgr::AddDecoToVector(), DestinyManager::ComputePosition(), PlanetSE::CreateCustomsOffice(), DestinyManager::Orbit(), StructureSE::SetAnchor(), and BeltMgr::SpawnBelt().

25 { return (deg * RadiansInDegrees); }
const double RadiansInDegrees
Definition: Trig.h:22

Here is the caller graph for this function:

double EvE::Trig::Rad2Deg ( double  rad)
inline

Definition at line 26 of file Trig.h.

Referenced by Scan::GetSignalData(), CustomsSE::InitData(), DestinyManager::IsAligned(), DestinyManager::IsTurn(), DestinyManager::ProcessState(), and DestinyManager::Turn().

26 { return (rad * DegreesInRadians); }
const double DegreesInRadians
Definition: Trig.h:23

Here is the caller graph for this function:

Variable Documentation

const double EvE::Trig::DegreesInRadians = 57.2957795130823208767981548141

Definition at line 23 of file Trig.h.

const double EvE::Trig::E = 2.71828182845904523536028747135

Definition at line 19 of file Trig.h.

Referenced by ShaModule::sha_transform().

const double EvE::Trig::Pi = 3.1415926535897932384626433832795

Definition at line 20 of file Trig.h.

Referenced by BeltMgr::SpawnBelt().

const double EvE::Trig::Pi2 = 6.28318530717958647692528676656

Definition at line 21 of file Trig.h.

Referenced by DestinyManager::Orbit().

const double EvE::Trig::RadiansInDegrees = 0.0174532925199432957692369076849

Definition at line 22 of file Trig.h.