Sat, 16 Mar 2013 13:08:24 +0200
Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code
#ifndef __IO_H__ #define __IO_H__ #include "common.h" #include "ldtypes.h" #include "str.h" class OpenFile { public: str zFileName, zTitle; vector<LDObject*> objects; }; // PROTOTYPES OpenFile* IO_FindLoadedFile (str name); OpenFile* IO_OpenLDrawFile (str path); LDObject* ParseLine (str zLine); extern vector<OpenFile*> g_LoadedFiles; #endif