| 463 | } |
| 464 | |
| 465 | void Test::DrawString(int x, int y, const char* fmt, ...) |
| 466 | { |
| 467 | #if defined(AX_PLATFORM_PC) |
| 468 | va_list args; |
| 469 | va_start(args, fmt); |
| 470 | auto str = StringUtils::vformat(fmt, args); |
| 471 | va_end(args); |
| 472 | debugString.append(str); |
| 473 | debugString.append("\n"); |
| 474 | labelDebugDraw->setString(debugString); |
| 475 | // labelDebugDraw->setPosition(x, y); |
| 476 | #endif |
| 477 | } |
| 478 | |
| 479 | void Test::DrawString(const b2Vec2& pw, const char* fmt, ...) |
| 480 | { |