Find opposite angle in radians

// Finds the angle that is 180 degrees from the given angle, but in radians
fmodf((angle + M_PI), (M_PI * 2))

WordPress Pastebin plugin

Tags: , , ,

About James

If this were the 80s I'd be sat in front of a C64 or Speccy, or taking VCRs apart.