| 300 | |
| 301 | // |
| 302 | btSoftBody::Material* btSoftBody::appendMaterial() |
| 303 | { |
| 304 | Material* pm = new (btAlignedAlloc(sizeof(Material), 16)) Material(); |
| 305 | if (m_materials.size() > 0) |
| 306 | *pm = *m_materials[0]; |
| 307 | else |
| 308 | ZeroInitialize(*pm); |
| 309 | m_materials.push_back(pm); |
| 310 | return (pm); |
| 311 | } |
| 312 | |
| 313 | // |
| 314 | void btSoftBody::appendNote(const char* text, |
no test coverage detected