Trigonometry shows up constantly in game development, most often for calculating distances between objects. In a game like Skyrim, for instance, the engine uses trigonometry to measure how far the player is from an objective and then displays that number on the map.
Imagine the player standing on flat ground while the objective sits atop a hill that is 3 metres tall and 5 metres away horizontally. With a bit of trigonometry, you can find the straight-line distance: the square root of 3² + 5², which works out to roughly 5.8 metres.
That's just a simple illustration. In reality, trigonometry is woven into modern games all the time, working alongside many other branches of mathematics.