Пример #1
0
 protected override void CalculateEdgeVectors(int VectorCornerIdx)
 {
     base.CalculateEdgeVectors(VectorCornerIdx);
     EdgeVectors.Add(CornerPoints[3] - CornerPoints[VectorCornerIdx]);
     EdgeVectors.Add(CornerPoints[1] - CornerPoints[VectorCornerIdx]);
 }
 protected override void CalculateEdgeVectors(int VectorCornerIdx, int faceIndex)
 {
     base.CalculateEdgeVectors(VectorCornerIdx, faceIndex);
     EdgeVectors.Add(Faces[faceIndex][3] - Faces[faceIndex][VectorCornerIdx]);
     EdgeVectors.Add(Faces[faceIndex][1] - Faces[faceIndex][VectorCornerIdx]);
 }