Created
June 3, 2019 13:29
-
-
Save AlainBarrios/db671ce4ab45efe410097335d721de88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vec2 centeredAspectRatio(vec2 uv, vec2 factor){ | |
return ( uv - .5 ) * factor + .5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment