| 119 | } |
| 120 | |
| 121 | DebugText::DebugText(const PxVec3& position_, PxReal size_, const char* string, ...) |
| 122 | : position(position_), size(size_) |
| 123 | { |
| 124 | va_list argList; |
| 125 | va_start(argList, string); |
| 126 | if(0 >= Ps::vsnprintf(buffer, sBufferSize-1, string, argList)) |
| 127 | buffer[sBufferSize-1] = 0; // terminate string |
| 128 | va_end(argList); |
| 129 | } |
| 130 | |
| 131 | RenderOutput& RenderOutput::operator<<(const DebugText& text) |
| 132 | { |
nothing calls this directly
no test coverage detected