elm-explorations / webgl

Functional rendering with WebGL in Elm
https://package.elm-lang.org/packages/elm-explorations/webgl/latest/
BSD 3-Clause "New" or "Revised" License
116 stars 17 forks source link

Support mat4 attribute #11

Closed w0rm closed 5 years ago

w0rm commented 5 years ago

Closes #3.

There is no easy way to bind mat4, we have to point at each vec4 separately.

I also deleted the integer vector attributes (ivec2, ivec3, ivec4) because they are not supported.

w0rm commented 5 years ago

@emptyflash would be great if you could change your code to use Mat4, and then apply these changes to the compiled Elm file to see if this works.