Tuesday, May 5, 2020

forgetful jones why are you so forgetful

Heh, making a virtual Mother's Day Card, I realize I had forgotten which trig function is good for calculating the angle between two points - atan2 was the one I was thinking of.

Curious to see if I had mentioned "atan2" before, I see this old blog entry  had some pretty cool code for a character chasing the mouse pointer by gradually turning.

No comments:

Post a Comment