https://github.com/ps2/motiongl
Example code using RubyMotion and GLKit
https://github.com/ps2/motiongl
Last synced: about 1 year ago
JSON representation
Example code using RubyMotion and GLKit
- Host: GitHub
- URL: https://github.com/ps2/motiongl
- Owner: ps2
- Created: 2012-05-08T00:27:49.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-08T13:53:32.000Z (about 14 years ago)
- Last Synced: 2025-03-29T09:01:46.985Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 146 KB
- Stars: 17
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using GLKit in RubyMotion
Experiments using GLKit
This is basically a port of Ray Wenderlich's code in his nice [GLKit tutorial](http://www.raywenderlich.com/5223/beginning-opengl-es-2-0-with-glkit-part-1).
One of the more interesting parts are the use of Pointer objects to pass vertex buffers. It's not beautiful (a bit ugly, actually), but at least RubyMotion does provide a mechanism to interface with pointer based C apis like this. It'd be interesting to see what kinds of nice ruby abstractions we could build on this.
-Pete