elm-community / webgl

Moved to elm-explorations/webgl

Home Page:https://package.elm-lang.org/packages/elm-explorations/webgl/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename Triangle to Triangles

etaque opened this issue · comments

Hi,
I suggest to rename Drawable(Triangle) to Triangles for the following reasons:

  • JS primitive name is gl.TRIANGLES (reference)
  • it's a way to draw a list of triangles, not just one

Obviously that would need to be in a major release :)

@etaque thanks! I've renamed it in 2.0 branch, the api will change anyway, but the new name will be preserved.