Brian E

Results 12 issues of Brian E

raylib has some checking functions inbuilt, like isFontReady, IsImage, IsTexture, etc. Using these and maybe some extra we could validate a lot of function's inputs "properly". Though the raylib validity...

enhancement
good first issue

For example font.Load currently needs a filepath to a font, but using it works like `font.Load •file.At "./relative/path"`. It might be nicer just taking in data directly, so you'd do...

enhancement

In config.bqn, it'd be nice if you could specify weather to regenerate FFI files automatically. This would be for testing and if you want to modify the ffi files yourself...

enhancement

_with is implemented in a lot of places, like texture._with. It loads a texture for a function 𝕗 to use and then unloads. The benifits are less mistakes since you...

enhancement

Not sure how thorough the checks should be. For now it's enough just to check the input has right shape and type.

enhancement

colors are from 0 to 255 but bqn stores arrays as signed ints so it should really be -128 to 127 to save 2x space

enhancement
breaking

It doesn't work, and it hasn't for ages. I've completely forgotten about it.

bug

C pointers shouldn't exist for a user using raylib.bqn, so I've set out to make a long lasting issue where i try modifying all loading functions to just give the...

enhancement

The current image representation doesn't account for the fact that CBQN doesn't store arrays as unsigned int, it stores them as signed, so the current representations use 2x more space...

enhancement

The comment here says "Parse X align" even though it's parsing Y align. https://github.com/memononen/nanosvg/blob/93ce879dc4c04a3ef1758428ec80083c38610b1f/src/nanosvg.h#L2622-L2628