Re: Raylib 3D

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi, maybe it does not work, because the BeginMode3D argument should not be a pointer to struct? Am I correct?

 
public constant xClearBackground = define_c_proc(ray,"+ClearBackground",{C_UINT}), 
				xBeginDrawing = define_c_proc(ray,"+BeginDrawing",{}), 
				xEndDrawing = define_c_proc(ray,"+EndDrawing",{}), 
				xBeginMode2D = define_c_proc(ray,"+BeginMode2D",{C_POINTER}), 
				xEndMode2D = define_c_proc(ray,"+EndMode2D",{}), 
				xBeginMode3D = define_c_proc(ray,"+BeginMode3D",{C_POINTER}), 
				xEndMode3D = define_c_proc(ray,"+EndMode3D",{}), 
				xBeginTextureMode = define_c_proc(ray,"+BeginTextureMode",{C_POINTER}), 
				xEndTextureMode = define_c_proc(ray,"+EndTextureMode",{}) 
				 
 

void BeginMode3D(Camera3D camera);       

https://www.raylib.com/cheatsheet/cheatsheet.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu