Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi! I've finally updated the template repository with a working demo and better bindings. There are now utilities to transform Hoot vectors into JS typed arrays,  in order to pass them to WebGL buffers, so it should save a lot of headaches. There is still some work required to make some of the API useful, for example glGetShaderParameter and the like return `(ref extern)`, so there needs to be some JS wrapper around them. Hope you find it handy!

I hope you mean bytevectors because regular Scheme vectors will be very inefficient for buffer data!

(+1)

You're right, I was confused for a long time because I was expecting bytevector literals to start with `#v`. I should probably rename the procedures to convert them to `TypedArrays`.