first model
This commit is contained in:
@@ -63,6 +63,18 @@ namespace panic {
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::types::real_t pi = static_cast<panic::types::real_t>(3.14159265358979323846);
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Type Name : panic::constants::half_pi
|
||||
//
|
||||
// Description:
|
||||
// Default difinition of pi (3.14159265358979323846) used inside PANIC.
|
||||
// static_cast makes sure the right number of decimals are used when defining the constant.
|
||||
//
|
||||
// Underlying Type:
|
||||
// panic::types::real_t
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::types::real_t half_pi = pi / static_cast<panic::types::real_t>(2);
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// Type Name : panic::constants::tau
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user