fixed the mesh loading in ray tracer.