I don’t know what level of math you studied in school or how well it stuck with you, so I’m just going to say “basic algebra”. The ability to abstract both values and functions is what a lot of people struggle with when learning both math and computer programming. If that’s way too basic for you and you’re looking for a college level course, then I’d look at the material covered in “Discrete Mathematics” courses. That’s probably the most directly relevant to programming. Linear algebra is good if you’re planning on doing a lot of graphics work (you’ll want a strong calculus foundation for that). If you do have calculus experience, you might want to revisit physics because it also depends on turning models of systems into a relationship of functions.
2 Likes