We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For testing purposes it will be desirable to run for example:
go run ${GOPATH}/src/github.com/go-gl/examples/nehe08/*.go
.. without being concerned about the run directory. Currently, I get [e] Failed to load texture: ../data/Glass.tga.
[e] Failed to load texture: ../data/Glass.tga
This package provides what looks to me to be a reasonable way of figuring out package-relative paths - I use it in glh to determine a font path.
glh
The text was updated successfully, but these errors were encountered:
Merge pull request #2 from jteeuwen/master
e16ed4c
Fix for issue #1: $PWD independent resource loading.
No branches or pull requests
For testing purposes it will be desirable to run for example:
.. without being concerned about the run directory. Currently, I get
[e] Failed to load texture: ../data/Glass.tga
.This package provides what looks to me to be a reasonable way of figuring out package-relative paths - I use it in
glh
to determine a font path.The text was updated successfully, but these errors were encountered: