示例#1
0
	GLKernel::GLKernel() :
		m_Vertices(c_MaxVertices),
		m_Colors(c_MaxVertices),
		m_MatrixStackPointer(0)
	{
		LoadIdentityMatrix();
	}
示例#2
0
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);
}
示例#3
0
nuiSprite::~nuiSprite()
{
  LoadIdentityMatrix();

  // static counter
  mSpriteCounter--;
  
  if (mpSpriteDef)
    mpSpriteDef->Release();
  for (size_t i = 0; i < mpChildren.size(); i++)
    mpChildren[i]->Release();
  }