\brief Used to store a text for debug rendering. Doesn't own 'string' array. */
| 113 | \brief Used to store a text for debug rendering. Doesn't own 'string' array. |
| 114 | */ |
| 115 | struct PxDebugText |
| 116 | { |
| 117 | PxDebugText() : string(0) {} |
| 118 | |
| 119 | PxDebugText(const PxVec3& p, const PxReal& s, const PxU32& c, const char* str) |
| 120 | : position(p), size(s), color(c), string(str) {} |
| 121 | |
| 122 | PxVec3 position; |
| 123 | PxReal size; |
| 124 | PxU32 color; |
| 125 | const char* string; |
| 126 | }; |
| 127 | |
| 128 | /** |
| 129 | \brief Interface for points, lines, triangles, and text buffer. |