PurpleKingdomGames / ultraviolet

Scala 3 to GLSL transpiler library
MIT License
58 stars 2 forks source link

Fixed #15: Inline defs are now inlined #64

Closed davesmith00000 closed 1 year ago

davesmith00000 commented 1 year ago

This fixes an old issue where I was attempting to re-construct inline defs and failing, now we just inline the values.

Before this PR is ready to close, I need to check the behaviour of the tile and stretch functions in Indigo to see if they do the right thing now.

davesmith00000 commented 1 year ago

Things to do:

  1. Update the README to mention/reword description of inlines
  2. Consider erroring if someone tries to assign a block to a val
  3. Consider erroring if someone tries to inline a block to a val
davesmith00000 commented 1 year ago

Ok, this became the "Do whatever it takes to get the LegacyEffects Indigo shaders working, PR. However, success!