Does combining type add overhead.

BlitzMax Forums/BlitzMax Beginners Area/Does combining type add overhead.

Yes you should separate.
while it has 8 byte overhead, it gives you some pro that you shouldn't miss: in case you inherit or "base class" one of your classes you could easily add another 2D vector to it or remove it without problems.

But the more important reason is that with a TVector class you can add vector operations to that class that are especially designed for it ... which is very powerfull and important for a clean OO system.