File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
crates/blue_engine_core/src Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,6 @@ pub struct Engine {
145
145
pub signals : SignalStorage ,
146
146
147
147
/// holds the update_loop function
148
- ///
149
- /// #### USED INTERNALLY
150
148
pub update_loop : Option < Box < dyn ' static + FnMut ( & mut Engine ) > > ,
151
149
152
150
/// Simplified input events
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ impl Object {
128
128
/// Sets the position of the object in 3D space relative to the window
129
129
pub fn set_position ( & mut self , new_pos : impl Into < Vector3 > ) -> & mut Self {
130
130
let new_pos = new_pos. into ( ) ;
131
- self . position = new_pos ;
131
+ self . position = Vector3 :: new ( 0f32 , 0f32 , 0f32 ) . into ( ) ;
132
132
self . translation_matrix = Matrix4 :: IDENTITY ;
133
133
134
134
self . translate ( new_pos)
You can’t perform that action at this time.
0 commit comments