aboutsummaryrefslogtreecommitdiff
path: root/examples2d
diff options
context:
space:
mode:
authorJan Nils Ferner <contact@jnferner.com>2023-01-26 16:51:28 +0100
committerJan Nils Ferner <contact@jnferner.com>2023-01-26 16:51:28 +0100
commitcfb922d8110fc3404162ea63eaf6d9917b7b7a99 (patch)
tree4e5c88e8b14e154382d902dd64d02d4f057edd08 /examples2d
parente7122195226fc9fc5a4a942b4b12713345b34666 (diff)
downloadrapier-cfb922d8110fc3404162ea63eaf6d9917b7b7a99.tar.gz
rapier-cfb922d8110fc3404162ea63eaf6d9917b7b7a99.tar.bz2
rapier-cfb922d8110fc3404162ea63eaf6d9917b7b7a99.zip
Import PI
Diffstat (limited to 'examples2d')
-rw-r--r--examples2d/character_controller2.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples2d/character_controller2.rs b/examples2d/character_controller2.rs
index 4df9f51..e964a02 100644
--- a/examples2d/character_controller2.rs
+++ b/examples2d/character_controller2.rs
@@ -1,3 +1,4 @@
+use std::f32::consts::PI;
use rapier2d::prelude::*;
use rapier_testbed2d::Testbed;