mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-29 10:19:18 -05:00
Review literals type
This commit is contained in:
@ -9,13 +9,13 @@ uniform vec4 fragTintColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
const float renderWidth = 800; // HARDCODED for example!
|
||||
const float renderHeight = 480; // Use uniforms instead...
|
||||
const float renderWidth = 800.0; // HARDCODED for example!
|
||||
const float renderHeight = 480.0; // Use uniforms instead...
|
||||
|
||||
float radius = 250.0;
|
||||
float angle = 0.8;
|
||||
|
||||
uniform vec2 center = vec2(200, 200);
|
||||
uniform vec2 center = vec2(200.0, 200.0);
|
||||
|
||||
void main (void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user