Cmake stands for Cross-platform make
But its better to treat it as Create Make
This file contains hidden or 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
| const int bar_size = 100; | |
| #define SQUARE 1 | |
| #define CIRCLE 2 | |
| bool isSquare(in vec2 fragCoord, in int bar_size ) | |
| { | |
| return all(lessThanEqual(abs(iMouse.xy - fragCoord), vec2(bar_size))); | |
| } | |
| bool isCircle(in vec2 fragCoord, in int radius ) |