An application of the level-set method to fire-front propagation