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: axes.rs
    path of file: ./repos/three-d/src/renderer/object
    
    the code of the file until where you have to start completion: use crate::renderer::*;

///
/// Three arrows indicating the three main axes; the x-axis (red), the y-axis (green) and the z-axis (blue).
/// Used for easily debugging where objects are placed in the 3D world.
///
pub struct Axes {
    model: Gm<InstancedMesh, ColorMaterial>,
}

impl Axes {
    ///
    /// Creates a new axes object consisting of three arrows with the given radius and length.
    ///
    pub fn new(context: &Context, radius: f32, length: f32) -> Self {
        let mut cpu_mesh = CpuMesh::arrow(0.9, 0.6, 16);
        cpu_mesh
            .transform(&Mat4::from_nonuniform_scale(length, radius, radius))
            .
    
    pub fn new(context: &Context, radius: f32, length: f32) -> Self {
        let mut cpu_mesh = CpuMesh::arrow(0.9, 0.6, 16);
        cpu_mesh
            .transform(&Mat4::from_nonuniform_scale(length, radius, radius))
            .unwrap();
        let model = Gm::new(
            InstancedMesh::new(
                context,
                &Instances {
                    transformations: vec![
                        Mat4::identity(),
                        Mat4::from_angle_z(degrees(90.0)),
                        Mat4::from_angle_y(degrees(-90.0)),
                    ],
                    texture_transformations: None,
                    colors: Some(vec![Srgba::RED, Srgba::GREEN, Srgba::BLUE]),
                },
                &cpu_mesh,
            ),
            ColorMaterial::default(),
        );
        Self { model }
    }