Skip to content

smokefilledrooms/sdl-gpu-nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdl-gpu-nim

Nim bindings for the SDL_gpu hardware-accelerated 2D rendering library.

To be used alongside the official Nim sdl2 bindings.

let screen = sdlgpu.init(640, 360, GPU_DEFAULT_INIT_FLAGS)
screen.circle(200, 200, 50, color(255,0,0,255))
screen.flip()
delay(1000)
sdlgpu.quit()

About

Quick and dirty c2nim generated wrapper for sdl-gpu https://github.com/grimfang4/sdl-gpu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages