fixing template bugs

This commit is contained in:
Vladislav Khorev 2013-11-02 15:35:50 +00:00
parent 144acdd633
commit 73fc81572e
3 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<Model> <Model>
<SamplerMap> <SamplerMap>
<Sampler name="Texture" value="bt_box_yellow_.bmp"/> <Sampler name="Texture" value="bt_box_yellow.jpg"/>
</SamplerMap> </SamplerMap>
<Vec3ArrMap> <Vec3ArrMap>
<Vec3Arr name="vPosition"> <Vec3Arr name="vPosition">

View File

@ -54,7 +54,7 @@ void TMyApplication::InnerInit()
ResourceManager->LightManager.SetLightDirection(vec3(-1,0,-1)); ResourceManager->LightManager.SetLightDirection(vec3(-1,0,-1));
ResourceManager->LightManager.SetLightColor(vec4(1,0,0,1)); ResourceManager->LightManager.SetLightColor(vec4(1,0,0,1));
ResourceManager->TexList.AddTexture("bt_box_yellow.bmp"); ResourceManager->TexList.AddTexture("bt_box_yellow.jpg");
ResourceManager->FlexModelManager.LoadModelFromXml("model.xml"); ResourceManager->FlexModelManager.LoadModelFromXml("model.xml");
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("model.xml"); FlexModel = ResourceManager->FlexModelManager.InstanciateModel("model.xml");