mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-22 16:57:12 +02:00
Prepared the base types for documentation.
This commit is contained in:
@@ -21,7 +21,9 @@ namespace SqMod {
|
||||
#undef PI
|
||||
#endif
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const Float32 PI = 3.14159265359f;
|
||||
const Float32 RECIPROCAL_PI = 1.0f/PI;
|
||||
const Float32 HALF_PI = PI/2.0f;
|
||||
@@ -31,11 +33,15 @@ const Float32 HALF_PI = PI/2.0f;
|
||||
#undef PI64
|
||||
#endif
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const Float64 PI64 = 3.1415926535897932384626433832795028841971693993751;
|
||||
const Float64 RECIPROCAL_PI64 = 1.0/PI64;
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const Float32 DEGTORAD = PI / 180.0f;
|
||||
const Float32 RADTODEG = 180.0f / PI;
|
||||
const Float64 DEGTORAD64 = PI64 / 180.0;
|
||||
|
Reference in New Issue
Block a user