torsteingrindvik/bevy-vfx-bag

Add math functions

Opened this issue · 0 comments

Need at least:

  • Hash21 (can be directly defined via fract(rng * sin(dot(input, rng 2d vector))))
  • Hash22 (can be directly defined via fract(rng * sin(input * rng 2d matrix)))
  • Rot2(a) (2d matrix rotation)