12345678910111213 |
- $OpenBSD: patch-Common_h,v 1.1 2009/10/22 23:07:54 sthen Exp $
- --- Common.h.orig Thu Oct 15 14:17:31 2009
- +++ Common.h Thu Oct 15 14:18:17 2009
- @@ -27,7 +27,7 @@
- #define FIXED_TO_INT(iNT) ((iNT)>>FIXED_SHIFT)
-
- struct Vec2 {
- - Vec2() {}
- + Vec2() : x(0), y(0) {}
- Vec2( const Vec2& o ) : x(o.x), y(o.y) {}
- explicit Vec2( const b2Vec2& o ) : x((int)o.x), y((int)o.y) {}
- Vec2( int xx, int yy ) : x(xx), y(yy) {}
|