Skip to content

xpac27/pony-glfw3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pony GLFW3

Work in progress improvements based on redvers/pony-glfw3.

TODO

  • Add listener for window related methods
  • Add listener for monitors related methods
  • Add listener for joystick related methods

Warning: experimental and un-tested, suggestions and pull-requests are welcome.

Usage

Add this repository as a submodule to your application:

git submodule add git@github.com:xpac27/pony-glfw3.git

Include this package in your Pony application:

use "pony-glfw3/Glfw3"

Start calling OpenGL methods from your Pony application:

if (Glfw3.glfwInit() == GLFWTrue()) then
  env.out.print("GLFW initialized version: " + Glfw3.glfwGetVersionString())

You might want to using this package together with OpenGL.

See main.pony for example.

About

Pony interface to GLFW3

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Pony 100.0%