int SampleMain() { DistanceMapping app; app.Create(); app.Run(); return 0; }
int main() { ResLoader::Instance().AddPath("../../Samples/media/Common"); Context::Instance().LoadCfg("KlayGE.cfg"); DistanceMapping app; app.Create(); app.Run(); return 0; }