Below you can see the front-view size comparison of the Olympus TG-4 and Canon M3. The Olympus TG-4 is 2 mm shorter and 13 mm thinner than the Canon M3 but it is also 1 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.