Re: Raylib 3D
- Posted by Maccuq Jul 11, 2019
- 1657 views
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