X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fdecode_binobj.cxx;h=302648bda8f67c5668483d5368d1918a5bcf710d;hb=aefe9bc11682f39b3936b9f01a0d37e9d6428078;hp=06181c8b497eee6ea7897dd614f1e786e8fbbbaf;hpb=f3d0a9bc3f246a84f1b781a0d6a64bcf01b84571;p=simgear.git diff --git a/simgear/io/decode_binobj.cxx b/simgear/io/decode_binobj.cxx index 06181c8b..302648bd 100644 --- a/simgear/io/decode_binobj.cxx +++ b/simgear/io/decode_binobj.cxx @@ -5,12 +5,12 @@ #include #include -#include STL_IOSTREAM +#include #include "sg_binobj.hxx" -SG_USING_STD(cout); -SG_USING_STD(endl); +using std::cout; +using std::endl; int main( int argc, char **argv ) { @@ -37,14 +37,14 @@ int main( int argc, char **argv ) { obj.get_gbs_radius()); cout << endl; - point_list nodes = obj.get_wgs84_nodes(); + std::vector nodes = obj.get_wgs84_nodes(); cout << "# vertex list" << endl; for ( i = 0; i < (int)nodes.size(); ++i ) { printf("v %.5f %.5f %.5f\n", nodes[i].x(), nodes[i].y(), nodes[i].z() ); } cout << endl; - point_list normals = obj.get_normals(); + std::vector normals = obj.get_normals(); cout << "# vertex normal list" << endl; for ( i = 0; i < (int)normals.size(); ++i ) { printf("vn %.5f %.5f %.5f\n", @@ -52,7 +52,7 @@ int main( int argc, char **argv ) { } cout << endl; - point_list texcoords = obj.get_texcoords(); + std::vector texcoords = obj.get_texcoords(); cout << "# texture coordinate list" << endl; for ( i = 0; i < (int)texcoords.size(); ++i ) { printf("vt %.5f %.5f\n",