mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 12:18:03 +00:00
updated render
This commit is contained in:
parent
275c9d98cd
commit
4f50603b8f
@ -129,6 +129,12 @@ void Clay_Raylib_Initialize(int width, int height, const char *title, unsigned i
|
||||
|
||||
void Clay_Raylib_Render(Clay_RenderCommandArray renderCommands)
|
||||
{
|
||||
|
||||
int screenWidth = GetScreenWidth();
|
||||
int screenHeight = GetScreenHeight();
|
||||
Matrix matView = PrecomputeViewMatrix(Raylib_camera);
|
||||
Matrix matProj = PrecomputeProjectionMatrix(Raylib_camera, screenWidth, screenHeight, 140.0f);
|
||||
|
||||
measureCalls = 0;
|
||||
for (int j = 0; j < renderCommands.length; j++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user