Difference between revisions of "Thread:Talk:PIF/Gradient PIF/DCBot/reply (3)"

From Robowiki
Jump to navigation Jump to search
(Reply to DCBot)
 
(No difference)

Latest revision as of 14:48, 17 November 2011

My Samekh definitely did, though my code is messy. Shadow's translating PIF version is available at oldwiki:DrussGT/HelpRequests. Glacier probably using this too.

The reason translating version is faster because in each iteration it doesn't have to do any trig, just simple addition. Trig only involve in battlefield rotation (at the beginning and at the end). This is the reason this version is faster.