diff trunk/chipmunkd/cpShape.d @ 13:c03a41d47b60

- finished all constraints properties - implemented cpAssertWarn the mixin way
author Extrawurst
date Fri, 03 Dec 2010 21:38:01 +0100
parents 7ebbd4d05553
children d88862c82f06
line wrap: on
line diff
--- a/trunk/chipmunkd/cpShape.d	Fri Dec 03 01:01:39 2010 +0100
+++ b/trunk/chipmunkd/cpShape.d	Fri Dec 03 21:38:01 2010 +0100
@@ -98,7 +98,8 @@
 //
 //// Test if a point lies within a shape.
 //cpBool cpShapePointQuery(cpShape *shape, cpVect p);
-//
+
+//TODO
 //#define CP_DeclareShapeGetter(struct, type, name) type struct##Get##name(cpShape *shape)
 //
 
@@ -242,11 +243,11 @@
 void
 cpSegmentQueryInfoPrint(cpSegmentQueryInfo *info)
 {
-	writefln("Segment Query:\n");
-	writefln("\tt: %s\n", info.t);
+	writefln("Segment Query:");
+	writefln("\tt: %s", info.t);
 //	writefln("\tdist: %f\n", info.dist);
 //	writefln("\tpoint: %s\n", cpvstr(info.point));
-	//writefln("\tn: %s\n", cpvstr(info.n)); //TODO:
+	writefln("\tn: %s", cpvstr(info.n));
 }
 
 cpCircleShape *