updated codes
This commit is contained in:
parent
02be1e421e
commit
efc3020504
@ -1,4 +1,5 @@
|
|||||||
#include"ParamParse.h"
|
#include"ParamParse.h"
|
||||||
|
#include<hgl/log/LogInfo.h>
|
||||||
|
|
||||||
const PixelFormat *ParseParamFormat(const CmdParse &cmd,const os_char *flag,const PixelFormat *default_format)
|
const PixelFormat *ParseParamFormat(const CmdParse &cmd,const os_char *flag,const PixelFormat *default_format)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include"TextureFileCreater.h"
|
#include"TextureFileCreater.h"
|
||||||
#include<hgl/filesystem/FileSystem.h>
|
#include<hgl/filesystem/FileSystem.h>
|
||||||
|
#include<hgl/log/LogInfo.h>
|
||||||
|
|
||||||
using namespace hgl::filesystem;
|
using namespace hgl::filesystem;
|
||||||
|
|
||||||
|
3
main.cpp
3
main.cpp
@ -1,5 +1,6 @@
|
|||||||
#include<iostream>
|
#include<iostream>
|
||||||
#include<IL/il.h>
|
#include<IL/il.h>
|
||||||
|
#include<hgl/log/LogInfo.h>
|
||||||
#include<hgl/util/cmd/CmdParse.h>
|
#include<hgl/util/cmd/CmdParse.h>
|
||||||
#include<hgl/Time.h>
|
#include<hgl/Time.h>
|
||||||
#include<hgl/filesystem/FileSystem.h>
|
#include<hgl/filesystem/FileSystem.h>
|
||||||
@ -99,7 +100,7 @@ int os_main(int argc,os_char **argv)
|
|||||||
|
|
||||||
const double time_gap=(end_time-start_time)/1000000;
|
const double time_gap=(end_time-start_time)/1000000;
|
||||||
|
|
||||||
const OSString time_gap_str=OSString::numberOf(time_gap);
|
const OSString time_gap_str=OSString::floatOf(time_gap,2);
|
||||||
|
|
||||||
LOG_INFO(OS_TEXT("Total converted ")+OSString::numberOf(eci.GetConvertCount())
|
LOG_INFO(OS_TEXT("Total converted ")+OSString::numberOf(eci.GetConvertCount())
|
||||||
+OS_TEXT(" textures for ")+time_gap_str.c_str()+OS_TEXT(" seconds."));
|
+OS_TEXT(" textures for ")+time_gap_str.c_str()+OS_TEXT(" seconds."));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user