| 129 | ImplementConsoleTypeCasters( TypePoint2I, Point2I ) |
| 130 | |
| 131 | ConsoleGetType( TypePoint2I ) |
| 132 | { |
| 133 | Point2I *pt = (Point2I *) dptr; |
| 134 | static const U32 bufSize = 256; |
| 135 | char* returnBuffer = Con::getReturnBuffer(bufSize); |
| 136 | dSprintf(returnBuffer, bufSize, "%d %d", pt->x, pt->y); |
| 137 | return returnBuffer; |
| 138 | } |
| 139 | |
| 140 | ConsoleSetType( TypePoint2I ) |
| 141 | { |