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
| package; | |
| #if macro | |
| import haxe.macro.*; | |
| import sys.FileSystem; | |
| import sys.io.*; | |
| import haxe.io.*; | |
| using StringTools; |
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
| /** | |
| * Simple SDF-based grid shader for the Heaps.io engine | |
| * with adjustable number of cells, relative border width and color. | |
| * | |
| * License: MIT | |
| **/ | |
| class GridShader extends hxsl.Shader { | |
| static var SRC = { |