Difference between revisions of "GSDP:GAM100/CProcessing/QUARTER PI"
From Inside
< GSDP:GAM100 | CProcessing
>D.hamilton (New page: {{GSDP:GAM100API.css}} = QUARTER_PI = == Description == QUARTER_PI is a math constant. It is defined as PI/4. == Definition == <syntaxhighlight l...) |
>Zachary.logsdon |
||
Line 8: | Line 8: | ||
<syntaxhighlight lang='c'> | <syntaxhighlight lang='c'> | ||
// Math defines | // Math defines | ||
− | |||
#define TWO_PI 6.28318530717958647692f | #define TWO_PI 6.28318530717958647692f | ||
#define PI 3.14159265358979323846f | #define PI 3.14159265358979323846f | ||
Line 17: | Line 16: | ||
==== Related ==== | ==== Related ==== | ||
* [[GSDP:GAM100/CProcessing |Main Page ]] | * [[GSDP:GAM100/CProcessing |Main Page ]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/TWO_PI |TWO_PI ]] | * [[GSDP:GAM100/CProcessing/TWO_PI |TWO_PI ]] | ||
* [[GSDP:GAM100/CProcessing/PI |PI ]] | * [[GSDP:GAM100/CProcessing/PI |PI ]] | ||
* [[GSDP:GAM100/CProcessing/HALF_PI |HALF_PI ]] | * [[GSDP:GAM100/CProcessing/HALF_PI |HALF_PI ]] | ||
* [[GSDP:GAM100/CProcessing/QUARTER_PI|QUARTER_PI]] | * [[GSDP:GAM100/CProcessing/QUARTER_PI|QUARTER_PI]] |
Latest revision as of 08:47, 29 May 2019
QUARTER_PI
Description
QUARTER_PI is a math constant. It is defined as PI/4.
Definition
// Math defines
#define TWO_PI 6.28318530717958647692f
#define PI 3.14159265358979323846f
#define HALF_PI 1.57079632679489661923f
#define QUARTER_PI 0.785398163397448309616f