Refactored many functions out of KREngine.mm into KRCamera.cpp in preparation for alpha transparent polygon sorting structures which will be owned by KRCamera
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4065
This commit is contained in:
@@ -116,9 +116,9 @@ bool KRMaterialManager::loadFile(const char *szPath) {
|
||||
m_materials[szSymbol[1]] = pMaterial;
|
||||
}
|
||||
if(pMaterial != NULL) {
|
||||
if(strcmp(szSymbol[0], "alpha_test") == 0) {
|
||||
if(strcmp(szSymbol[0], "alpha_mode") == 0) {
|
||||
if(cSymbols == 2) {
|
||||
pMaterial->setAlphaTest(strcmp(szSymbol[1], "true") == 0);
|
||||
pMaterial->setAlphaTest(strcmp(szSymbol[1], "test") == 0);
|
||||
}
|
||||
} else if(strcmp(szSymbol[0], "Ka") == 0) {
|
||||
char *pScan2 = szSymbol[1];
|
||||
|
||||
Reference in New Issue
Block a user