You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: physics.rs
    path of file: ./repos/goku/src/two_d
    
    the code of the file until where you have to start completion: extern crate sdl2;
// extern  crate gl;

use nalgebra::Vector2;

// physics
    // Collider  +
    // Rigi
    
    pub fn update(&mut self, delta_time: f32) {
        self.velocity += self.acceleration * delta_time;

        // Normalize velocity
        let current_speed = self.velocity.norm();
        if current_speed != 0.0 {
            self.velocity /= current_speed;
        }

        // Apply speed limit
        self.velocity *= self.speed;
    }