GLKernel::GLKernel() : m_Vertices(c_MaxVertices), m_Colors(c_MaxVertices), m_MatrixStackPointer(0) { LoadIdentityMatrix(); }
void LMesh::Clear() { m_vertices.clear(); m_normals.clear(); m_uv.clear(); m_tangents.clear(); m_binormals.clear(); m_triangles.clear(); m_tris.clear(); m_materials.clear(); LoadIdentityMatrix(m_matrix); }
nuiSprite::~nuiSprite() { LoadIdentityMatrix(); // static counter mSpriteCounter--; if (mpSpriteDef) mpSpriteDef->Release(); for (size_t i = 0; i < mpChildren.size(); i++) mpChildren[i]->Release(); }