A separate solution for types, etc?
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
15:54 UTC
Read the original article
Hit count: 188
data-structure
|design
I'm currently in progress 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 utils 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 seperate .lib with all my classes that should be shared between all the projects in the solution.
© Game Development or respective owner