Exemplo n.º 1
0
void ccDrawableObject::setTempColor(const colorType* col, bool autoActivate /*= true*/)
{
    memcpy(m_tempColor,col,3*sizeof(colorType));

    if (autoActivate)
        enableTempColor(true);
}
Exemplo n.º 2
0
ccDrawableObject::ccDrawableObject()
{
    setVisible(true);
    setSelected(false);
    showColors(false);
    showNormals(false);
    showSF(false);
	lockVisibility(false);
	showNameIn3D(false);
    m_currentDisplay=0;

    enableTempColor(false);
    setTempColor(ccColor::white,false);
    razGLTransformation();
}
Exemplo n.º 3
0
void ccGenericPointCloud::clear()
{
	unallocateVisibilityArray();
    deleteOctree();
    enableTempColor(false);
}