示例#1
0
		public NLineSegment (Vec2 pStart, Vec2 pEnd, uint pColor = 0xffffffff, uint pLineWidth = 1, bool pGlobalCoords = false)
			: base (pStart, pEnd, pColor, pLineWidth, pGlobalCoords)
		{
			_normal = new Arrow (null, null, 40, 0xfffff000, 1);
			AddChild (_normal);
		}
示例#2
0
 public NLineSegment(Vec2 pStart, Vec2 pEnd, uint pColor = 0xffffffff, uint pLineWidth = 1, bool pGlobalCoords = false)
     : base(pStart, pEnd, pColor, pLineWidth, pGlobalCoords)
 {
     _normal = new Arrow(new Vec2(0, 0), new Vec2(0, 0), 40, 0xffff0000, 1);
     AddChild(_normal);
 }