remove Actor::Fade*, remove unnessary virtuals in Actor

This commit is contained in:
Chris Danford
2004-02-14 03:38:34 +00:00
parent da28ed8217
commit 10a4580c12
16 changed files with 167 additions and 158 deletions
+5 -6
View File
@@ -409,14 +409,13 @@ void Model::LoadMilkshapeAsciiBones( CString sAniName, CString sPath )
}
}
bool Model::EarlyAbortDraw()
{
return m_pGeometry == NULL || m_pGeometry->m_Meshes.empty();
}
void Model::DrawPrimitives()
{
if( m_pGeometry == NULL ||
m_pGeometry->m_Meshes.empty() )
{
return; // bail early
}
/* Don't if we're fully transparent */
if( m_pTempState->diffuse[0].a < 0.001f && m_pTempState->glow.a < 0.001f )
return;