b977e4e00b
levels to work. Some from Erik Hovland via the numptyphysics bug tracker, some from David Coppa. Port diff from David Coppa (maintainer).
13 lines
421 B
Plaintext
13 lines
421 B
Plaintext
$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) {}
|