Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2008, 11:38:23 PM (16 years ago)
Author:
rgrieder
Message:

svn save, just in case…
(doesn't compile at all!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/util/Math.cc

    r1566 r1609  
    3030
    3131#include "Math.h"
     32#include "Convert.h"
    3233
    3334/**
     
    123124    return (targetposition + targetvelocity * time);
    124125}
     126
     127unsigned long getUniqueNumber()
     128{
     129    static unsigned long aNumber = 135;
     130    return aNumber++;
     131}
     132
     133std::string getUniqueNumberStr()
     134{
     135    return convertToString(getUniqueNumber());
     136}
Note: See TracChangeset for help on using the changeset viewer.