User Tools

Site Tools


en:tutorials:community:sergeig:shadercoordinates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:tutorials:community:sergeig:shadercoordinates [2018/02/14 06:38 (14 months ago)]
216.244.66.237 ↷ Links adapted because of a move operation
en:tutorials:community:sergeig:shadercoordinates [2019/03/06 12:38 (7 weeks ago)] (current)
sausage Remove WinMain references
Line 19: Line 19:
 On the screenshot you can see a red rectangular dot. It indicates the position of the mouse cursor at the moment of taking the screenshot. On the screenshot you can see a red rectangular dot. It indicates the position of the mouse cursor at the moment of taking the screenshot.
  
-===== Code Behind ===== 
- 
-The source code uses standard setup with main and WinMain entry point functions for different operating systems. Both entry points configure orx engine with references to Init and Run functions. 
  
 ==== Init function ==== ==== Init function ====
Line 308: Line 305:
 } }
  
- 
-#ifdef __orxMSVC__ 
- 
-// Here's an example for a console-less program under windows with visual studio 
-int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,​ LPSTR lpCmdLine, int nCmdShow) 
-{ 
-    // Inits and executes orx 
-    orx_WinExecute(Init,​ Run, Exit); 
-    ​ 
-    // Done! 
-    return EXIT_SUCCESS;​ 
-} 
- 
-#endif // __orxMSVC__ 
 </​code>​ </​code>​
en/tutorials/community/sergeig/shadercoordinates.1518590336.txt.gz · Last modified: 2018/02/14 06:38 (14 months ago) by 216.244.66.237