1
2
3
4
5
6
7
8
9
10
11
12
13
//! The CGL Math Constants

#![allow(non_camel_case_types)]

pub const PI: f32 = 3.14159265358979323846264338327950288;
pub const PI2: f32 = 6.28318530717958647692528676655900576;
pub const PI_2: f32 = 1.57079632679489661923132169163975144;
pub const E: f32 = 2.71828182845904523536028747135266250;
pub const SQRT_2: f32 = 1.41421356237309504880168872420969808;
pub const SQRT_3: f32 = 1.73205080756887729352744634150587236;
pub const SQRT_5: f32 = 2.23606797749978969640917366873127623;
pub const SQRT_6: f32 = 2.44948974278317809819728407470589139;
pub const SQRT_7: f32 = 2.64575131106459059050161575363926042;