From 1429e40ff4819bd5c3ef90dfbe6927bded7a9681 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 28 Sep 2015 16:14:50 +0000 Subject: [PATCH] EgtInterface : - aggiunta EgtLoadTexture. --- API_Scene.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/API_Scene.cpp b/API_Scene.cpp index 604bb78..a77a451 100644 --- a/API_Scene.cpp +++ b/API_Scene.cpp @@ -421,3 +421,10 @@ __stdcall EgtUnProjectPoint( int nWinX, int nWinY, double ptP[3]) return TRUE ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtLoadTexture( const wchar_t* wsName, const wchar_t* wsFile, + double dDimX, double dDimY, BOOL bRepeat) +{ + return ( ExeLoadTexture( wstrztoA( wsName), wstrztoA( wsFile), dDimX, dDimY, ( bRepeat != FALSE)) ? TRUE : FALSE) ; +}