-
Notifications
You must be signed in to change notification settings - Fork 5
3rd Party Libraries
Here are the list of 3rd party libraries to be used:
-
glm for 3d math libraries. It's used because it's very close to GLSL, and writing my own library means that it's prone to bugs and slowdowns.
-
glfw: library for creating windows with OpenGL context.
-
googletest : for unit testing, I'm trying to avoid boost, because it's such a kitchen sink.
-
json-c: currently this is the chosen library to process JSON. It's not optimal choice, it's very c-based and it implements its own reference counting inside the library. But currently it's one of the bests, easily installable thru home-brew, and not dependent on boost.
-
three.js: as the original library to be ported from. The main reason, is that three.js, as a WebGL library, has a fairly simple and clean implementation.
-
FreeImage: currently being used to load images. I will try to review the license later on, hopefully it's friendly enough to open source and commercial uses.
-
FontStash is used as the OpenGL font / text library. It's lightweight, and has no other dependencies. However since it uses pre-OpenGL 3.0 (thus no shader), a FontStashAdapter class is introduced to curb the issue.
Most of these libraries can be installed using homebrew, ease of installation is the one of the priorities of this port.