ilmola / generator

A procedural geometry generation library for C++11
GNU Lesser General Public License v2.1
211 stars 26 forks source link

How set are you on using your own math library? #4

Closed JesseTG closed 8 years ago

JesseTG commented 8 years ago

I think GLM would be a better fit, personally, as it's similarly lightweight and more maintained. But if you'd like, I can compromise and let the user pick between GLM and GML at compile-time.

ilmola commented 8 years ago

I did consider GLM, but did not want to add an external dependency and thought my library was much simpler. Of course anyone else using GLM my math library is an external dependency. Having the ability to choose a math library at compile time would be great if it can be made to work.

JesseTG commented 8 years ago

It's mostly done, actually #5 , but the rounded box looks weird for some reason and I want to figure out why. It's a lucky coincidence because both GML and GLM follow a lot of GLSL's conventions, so all I have to do is write some using declarations and substitute some functionality that doesn't use the same name.

I think the main issue, however, is maintainability. New functionality will have to be tested and maintained with two libraries.

Let's move discussion to #5