Whitworth also designed revolutionary guns. He found the idea of forcing an oversized projectile through rifling to spin it very crude.
His solution was a hexagonal bore, twisted along it's length, and a matching hexagonal projectile. Both more expensive to manufacture, but offset by the advantages. No real friction so the barrels lasted much longer (large guns like those on a battleship might need new barrels after only firing 100 rounds, at vast expense)
Most of the energy of the charge being used to propel the projectile, rather than being wasted in overcoming friction.
Much greater range and penetrating power for a given charge.
In tests his field gun outperformed the conventional competition in every respect, so much so that the test had to be abandoned because it proved impossible to determine the true range of his gun. It was still putting rounds through the target at the maximum distance available, nearly twice the range of the nearest competitor, his great rival Armstrong.
There was quite a scandal at the time when, despite the outcome of the tests, the military contract was awarded to Armstrong, who had some powerful connections in the War Department.
Whitworth guns were used successfully by both sides in the American civil war. Interestingly if you watch the film The Good The Bad and The Ugly, specifically the scene where they get involved in a civil war battle, you will see one of Whitworth's hexagonal barrelled field guns.
Whether this is purely by chance, or someone in the props department had a good knowledge of history I have no idea.
The idea never took off on a large scale, although I have seen reports that H&K have been experimenting with something very similar.