Mercurial > projects > chipmunkd
comparison trunk/chipmunkd/chipmunk_types.d @ 23:4ceef5833c8c
updated to chipmunk 5.3.3
author | Extrawurst |
---|---|
date | Fri, 10 Dec 2010 02:10:27 +0100 |
parents | 131331ebb599 |
children |
comparison
equal
deleted
inserted
replaced
22:ed2c81f3d1df | 23:4ceef5833c8c |
---|---|
104 //#else | 104 //#else |
105 struct cpVect | 105 struct cpVect |
106 { | 106 { |
107 cpFloat x = 0; cpFloat y=0; | 107 cpFloat x = 0; cpFloat y=0; |
108 | 108 |
109 //TODO: basic operators | |
110 | |
109 string toString() const | 111 string toString() const |
110 { | 112 { |
111 return .format("(%s,%s)",x,y); | 113 return .format("(%s,%s)",x,y); |
112 } | 114 } |
113 } | 115 } |