Ejemplo n.º 1
0
 /// <summary>
 ///     Sets the next edge using the specified edge
 /// </summary>
 /// <param name="edge">The edge</param>
 /// <param name="cornerDir">The corner dir</param>
 /// <param name="convex">The convex</param>
 public void SetNextEdge(EdgeShape edge, Vec2 cornerDir, bool convex)
 {
     NextEdge        = edge;
     Corner2Vector   = cornerDir;
     Corner2IsConvex = convex;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Sets the prev edge using the specified edge
 /// </summary>
 /// <param name="edge">The edge</param>
 /// <param name="cornerDir">The corner dir</param>
 /// <param name="convex">The convex</param>
 public void SetPrevEdge(EdgeShape edge, Vec2 cornerDir, bool convex)
 {
     PrevEdge        = edge;
     Corner1Vector   = cornerDir;
     Corner1IsConvex = convex;
 }