File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/dodge-the-creeps/src
gdnative-core/src/core_types/geom Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl Main {
95
95
let mob_scene: Ref < RigidBody2D , _ > = instance_scene ( & self . mob ) ;
96
96
97
97
let mut rng = rand:: thread_rng ( ) ;
98
- let offset = rng. gen_range ( std :: u32:: MIN ..std :: u32:: MAX ) ;
98
+ let offset = rng. gen_range ( u32:: MIN ..u32:: MAX ) ;
99
99
100
100
mob_spawn_location. set_offset ( offset. into ( ) ) ;
101
101
Original file line number Diff line number Diff line change @@ -697,9 +697,9 @@ mod tests {
697
697
698
698
let vector = Vector3 :: new ( 4.0 , 5.0 , 6.0 ) ;
699
699
700
- assert ! ( ( basis. tdotx( vector) - 32.0 ) . abs( ) < std :: f32 :: EPSILON ) ;
701
- assert ! ( ( basis. tdoty( vector) - 47.0 ) . abs( ) < std :: f32 :: EPSILON ) ;
702
- assert ! ( ( basis. tdotz( vector) - 62.0 ) . abs( ) < std :: f32 :: EPSILON ) ;
700
+ assert ! ( ( basis. tdotx( vector) - 32.0 ) . abs( ) < f32 :: EPSILON ) ;
701
+ assert ! ( ( basis. tdoty( vector) - 47.0 ) . abs( ) < f32 :: EPSILON ) ;
702
+ assert ! ( ( basis. tdotz( vector) - 62.0 ) . abs( ) < f32 :: EPSILON ) ;
703
703
}
704
704
705
705
#[ test]
You can’t perform that action at this time.
0 commit comments