@@ -47,6 +47,9 @@ public class TriangleChecker { | |||
// Analyse der Dreiecksart | |||
public static TriangleType checkTriangle(float a, float b, float c) { | |||
if (a + b > c || b + c > a || a + c > b) { | |||
return TriangleType.NORMAL; | |||
} | |||
return TriangleType.NONE; | |||
} | |||