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 {
9595 let mob_scene: Ref < RigidBody2D , _ > = instance_scene ( & self . mob ) ;
9696
9797 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 ) ;
9999
100100 mob_spawn_location. set_offset ( offset. into ( ) ) ;
101101
Original file line number Diff line number Diff line change @@ -697,9 +697,9 @@ mod tests {
697697
698698 let vector = Vector3 :: new ( 4.0 , 5.0 , 6.0 ) ;
699699
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 ) ;
703703 }
704704
705705 #[ test]
You can’t perform that action at this time.
0 commit comments