We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Box2D::init_from_rect()
from_rect()
1 parent 17a97fa commit 8b1c516Copy full SHA for 8b1c516
1 file changed
graphene/src/box2_d.rs
@@ -92,7 +92,7 @@ impl Box2D {
92
}
93
94
#[doc(alias = "graphene_box2d_init_from_rect")]
95
- pub fn init_from_rect(src: &Rect) -> Self {
+ pub fn from_rect(src: &Rect) -> Self {
96
assert_initialized_main_thread!();
97
unsafe {
98
let mut b = Self::uninitialized();
0 commit comments