Improved shaders_postprocessing example
This commit is contained in:
parent
c9d6b7e356
commit
65e6a6db53
34 changed files with 24630 additions and 22395 deletions
|
@ -34,7 +34,6 @@ Color colors[MAX_COLUMNS];
|
|||
//Vector3 playerPosition;
|
||||
Vector3 playerPosition = { 4.0f, 2.0f, 4.0f }; // Define player position
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Declaration
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
|
@ -85,6 +85,9 @@ void UpdateDrawFrame(void)
|
|||
UpdateCamera(&camera); // Update camera (simulator mode)
|
||||
|
||||
if (IsKeyPressed(KEY_SPACE)) ToggleVrMode(); // Toggle VR mode
|
||||
|
||||
// Lock mouse cursor if mouse click on canvas
|
||||
if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) DisableCursor();
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue