-
Notifications
You must be signed in to change notification settings - Fork 61
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
Port to gfm:math from gl3n #211
Comments
Is there any feature/aliases/functions to add that would make it less work? |
Damnit, I totally thought I responded to this, my bad. If I miss something like this in the future, feel free to ping it. Most of the work for this is going to come from renaming That said, there are some things that gfm is missing, mostly in Quaternion. I'll try to make a list here soon, and open issues on GFM. The most obvious things I can think of are I would like an alias of |
Fun fact, I think gl3n's vec3 is an alias for vec3f. Not that that's an argument against moving to gfm haha |
@Zedoctor That's what I thought too, but turns out gl3n doesn't have a vec3f. |
I'm all for |
I agree with you on the |
Renamed |
Great, thanks for doing that for us! |
Hi, the new fromEulerAngles/toEulerAngles have changed to use a better ordering of axis, this could break your code if you already used it. |
Thanks for the heads up. I'm running everything through an abstraction layer at this point, so it should be an easy fix. |
Hi again, if upgrading the gfm:sdl2 dependency to 2.0.x, you'll be able to drop some useless code and the dependency to the "colorize" package. |
Does Also, we do actually use |
Yes before 2.0.x gfm:sdl2 depended on gfm:core which contained a Logger implementation which depended on colorize. This was odd and this is not the case anymore. Cool to see you used colorize anyway. |
Ok, so is the |
Yes, it is a (Unrelated: if upgrading to gfm:sdl2 2.0.x, beware because no SDL subsystem will be initialized anymore by SDL.this(). Eg: https://github.com/d-gamedev-team/gfm/blob/master/examples/simpleshader/simpleshader.d#L27 ) |
Ahh, good to know. I'll try to do that upgrade this evening. I think we should just need |
I think switching from gl3n to gfm is the right move for Dash in the long run. Unfortunately, it's going to take a lot of work.
This would be a great project for an external contributor to work on, to get to know the engine. The effort has already started here, so that would be the place to pick up from.
The text was updated successfully, but these errors were encountered: