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

Wrap numbers from lua into osgLua in a class with custom converters #103

Open
rpavlik opened this issue Nov 19, 2012 · 0 comments
Open

Wrap numbers from lua into osgLua in a class with custom converters #103

rpavlik opened this issue Nov 19, 2012 · 0 comments
Labels

Comments

@rpavlik
Copy link
Member

rpavlik commented Nov 19, 2012

Instead of loading them directly as doubles (and thus breaking methods that want floats, when really we just don't distinguish between them since everything's a double in Lua), load them in a new class that has a handmade introspection wrapper with custom converters.

This might even allow us to get rid of or at least re-structure the "is it an int?" hack we do right now.

cc: @lpberg

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

No branches or pull requests

1 participant