[Home]History of Moebius/Code

Robo Home | Changes | Preferences | AllPages


Revision 15 . . May 17, 2003 20:01 EST by Kawigi
Revision 14 . . April 27, 2003 22:13 EST by PEZ
  

Difference (from prior major revision) (no other diffs)

Changed: 173c173,175
I see why you say Strings take very little codesize! -- PEZ
I see why you say Strings take very little codesize! -- PEZ

Another place you nano-types could possibly lose some size is letting Robocode normalize your angles for you - I've discovered (and I'm using, starting with FloodMini) that I can use robocode.util.Utils.normalRelativeAngle(angle), and it should be smaller than Math.asin(Math.sin(angle)). And to get angles between 0 and 2*pi, you can use robocode.util.Utils.normalAbsoluteAngle?(angle), although by experience, I think you need that a lot less. -- Kawigi

Robo Home | Changes | Preferences | AllPages
Search: