Skip to content
New issue

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

Scene.RayCount crashes on 32bit systems with cgo #16

Open
therecipe opened this issue Nov 29, 2016 · 0 comments
Open

Scene.RayCount crashes on 32bit systems with cgo #16

therecipe opened this issue Nov 29, 2016 · 0 comments

Comments

@therecipe
Copy link

Hey

First thank you for this lib and also for your other lib ln :)
I had great fun playing around with the examples and even build an example on top of your examples for my lib here: https://github.com/therecipe/qt/tree/master/internal/examples/widgets/renderer

But it seems like the examples crash if you compile them for windows/386 in combination with cgo.
I tracked the problem down and wrote some about it here: therecipe/qt#125

Basically to fix this you would just have to re-order this struct https://github.com/fogleman/pt/blob/master/pt/scene.go#L5-L13
and simply move rays to the top.

I hoped that you would fix this, so that I don't have to send a PR for such a small change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant