gloop

Version, currently master branch1 version
  • master branchlatestJul 3, 2022

github.com/icy-arctic-fox/gloop

Object oriented OpenGL library for Crystal. Give a bit of structure to your graphics programming.

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  gloop:
    github: icy-arctic-fox/gloop
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.4.1
License
MIT
Author
Michael Miller

Dependencies

Runtime Dependencies

  • opengl*gitlab: arctic-fox/opengl.cr, branch: gl-4.6-core

Development Dependencies

  • sdl*github: ysbaddaden/sdl.crdev
  • glfw~> 3.3.2gitlab: arctic-fox/glfw.crdev
  • ameba~> 1.0.0github: crystal-ameba/amebadev
  • spectator~> 0.10.0gitlab: arctic-fox/spectatordev

README

Gloop

Add some structure to your OpenGL code! Object oriented OpenGL library for Crystal.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      gloop:
        gitlab: arctic-fox/gloop
  2. Run shards install

Usage

require "gloop"

TODO: Write usage instructions here

Versioning

Gloop is written against OpenGL 4.6 Core profile. However, this doesn't mean OpenGL 4.6 must be used. As long as your application calls methods only in the target version, the code will compile and link. For instance, Direct State Access (DSA) was introduced in OpenGL 4.5. If your code doesn't utilize DSA, then it should be fine to target a version lower than 4.5.

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://gitlab.com/arctic-fox/gloop/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors