Managing different utility classes between engine and libraries
Posted
by
hayer
on Game Development
See other posts from Game Development
or by hayer
Published on 2012-10-02T14:57:19Z
Indexed on
2012/10/02
21:53 UTC
Read the original article
Hit count: 164
I'm currently in updating some engine code (which does not work, so it is more like creating a engine).
I've decided to swap over to SFML (instead of my own crappy renderer, window manager, and audio), Box2D (since I need physics, but have none), and some small utilities I've built myself.
The problem is that each of the project mentioned over use different types for things like Vector2, etc.
So to the question: is it a good idea to replace Box2D and SFML vectors with my own vector class (which is one of my better implementations)? My idea then was to have a separate .lib with all my classes that should be shared between all the projects in the solution.
© Game Development or respective owner