Removed comment, as that code was replaced.

This commit is contained in:
Relintai 2020-12-08 21:36:14 +01:00
parent 7c5c4d39be
commit d044bd4ee5
2 changed files with 0 additions and 6 deletions

View File

@ -289,9 +289,6 @@ func bricks_sb(uv : Vector2, count : Vector2, repeat : float, offset : float) ->
return Color(corner.x / c.x, corner.y / c.y, (corner.x + size.x) / c.x, (corner.y + size.y) / c.y) return Color(corner.x / c.x, corner.y / c.y, (corner.x + size.x) / c.x, (corner.y + size.y) / c.y)
#from https://www.geeksforgeeks.org/modulus-two-float-double-numbers/
#there is probably a better way of doing this
func modf(x : float, y : float) -> float: func modf(x : float, y : float) -> float:
return x - y * floor(x / y) return x - y * floor(x / y)

View File

@ -130,9 +130,6 @@ func shape_rays(uv : Vector2, sides : float, size : float, edge : float) -> floa
return clamp(min((size - angle) / edge, angle / edge), 0.0, 1.0); return clamp(min((size - angle) / edge, angle / edge), 0.0, 1.0);
#from https://www.geeksforgeeks.org/modulus-two-float-double-numbers/
#there is probably a better way of doing this
func modf(x : float, y : float) -> float: func modf(x : float, y : float) -> float:
return x - y * floor(x / y) return x - y * floor(x / y)