Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/components/CCmpRallyPointRenderer.h
Show First 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | private: | ||||
void ReduceSegmentsByVisibility(std::vector<CVector2D>& coords, unsigned maxSegmentLinks = 0, bool floating = true) const; | void ReduceSegmentsByVisibility(std::vector<CVector2D>& coords, unsigned maxSegmentLinks = 0, bool floating = true) const; | ||||
/** | /** | ||||
* Helper function to GetVisibilitySegments, factored out for testing. Merges single-point segments with its neighbouring | * Helper function to GetVisibilitySegments, factored out for testing. Merges single-point segments with its neighbouring | ||||
* segments. You should not have to call this method directly. | * segments. You should not have to call this method directly. | ||||
*/ | */ | ||||
static void MergeVisibilitySegments(std::vector<SVisibilitySegment>& segments); | static void MergeVisibilitySegments(std::vector<SVisibilitySegment>& segments); | ||||
void RenderSubmit(SceneCollector& collector); | void RenderSubmit(SceneCollector& collector, const CFrustum& frustum, bool culling); | ||||
}; | }; | ||||
REGISTER_COMPONENT_TYPE(RallyPointRenderer) | REGISTER_COMPONENT_TYPE(RallyPointRenderer) | ||||
#endif // INCLUDED_CCMPRALLYPOINTRENDERER | #endif // INCLUDED_CCMPRALLYPOINTRENDERER |
Wildfire Games · Phabricator