nickpow43·2 yıl önce·discussVery cool, If it isn't mentioned elsewhere I'd add a note that often times you can avoid the expensive sqrt calculation. For example the last if statement in https://www.jeffreythompson.org/collision-detection/circle-r...could be optimized by instead just checking if distanceSqr < (radius * radius)
could be optimized by instead just checking if distanceSqr < (radius * radius)