Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6197 in orxonox.OLD for branches/network/src/lib/network/converter.h


Ignore:
Timestamp:
Dec 20, 2005, 6:18:14 PM (18 years ago)
Author:
bwuest
Message:

converter.h and converter.cc changed: Conversion float to byte* and byte* to float works now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/converter.h

    r6139 r6197  
    3131    static char* floatToBinString(float x);
    3232   
     33    static byte* floatToByteArray(float x);
     34    static float byteArrayToFloat(byte* a);
     35   
     36    static byte* _floatToByteArray(float x);
     37    static float _byteArrayToFloat(byte* a);
    3338  private:
    3439    Converter();
Note: See TracChangeset for help on using the changeset viewer.