Function glm::ext::consts::pi
[−]
[src]
pub fn pi<F: BaseFloat, T: Consts<F>>() -> T
Returns the Archimedes' constant π.
Example
use glm::*; use glm::ext::*; assert_eq!(DVec4::pi(), dvec4(pi(), pi(), pi(), pi()));