wilsonsilva / raylib-ruby

Ruby bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
https://raylib-ruby.com
zlib License
18 stars 1 forks source link

Load functions can't handle relative paths #2

Open wilsonsilva opened 1 year ago

wilsonsilva commented 1 year ago

For example Raylib.load_model("resources/models/iqm/guy.iqm") only works if I write it as Raylib.load_model("/Users/wilson/projects/rb/raylib/examples/models/resources/models/iqm/guy.iqm")

Studio-Lotus commented 3 months ago

Using global version instead of namespaced fixes this (on my system at least)