BGE Rasterizer Cleanup: Cleaning up some includes.

This commit is contained in:
2013-11-04 19:22:10 +00:00
parent 0cec5c63da
commit fb94a53978
25 changed files with 68 additions and 68 deletions

View File

@@ -29,23 +29,19 @@
* \ingroup bgerast
*/
#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "DNA_key_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "CTR_HashedPtr.h"
#include "RAS_MeshObject.h"
#include "RAS_IRasterizer.h"
#include "MT_MinMax.h"
#include "RAS_Polygon.h"
#include "RAS_IPolygonMaterial.h"
#include "RAS_Deformer.h"
#include "MT_Point3.h"
#include <algorithm>
extern "C" {
# include "BKE_deform.h"
}
/* polygon sorting */
@@ -540,6 +536,16 @@ void RAS_MeshObject::SortPolygons(RAS_MeshSlot& ms, const MT_Transform &transfor
}
bool RAS_MeshObject::HasColliderPolygon()
{
int numpolys= NumPolygons();
for (int p=0; p<numpolys; p++)
if (m_Polygons[p]->IsCollider())
return true;
return false;
}
void RAS_MeshObject::SchedulePolygons(int drawingmode)
{
if (m_bModified)