예제 #1
0
		///
		public void Draw(Draw draw){
			Color c = Color.FromArgb(102, 127, 179);

			for (int i = 0; i < m_count - 1; ++i)
			{
				draw.DrawSegment(m_ps[i], m_ps[i+1], c);
			}
		}
예제 #2
0
		/// Register a routine for debug drawing. The debug draw functions are called
		/// inside with World::DrawDebugData method. The debug draw object is owned
		/// by you and must remain in scope.
		public void SetDebugDraw(Draw debugDraw){
			m_debugDraw = debugDraw;
		}