コード例 #1
0
ファイル: Triangle.cs プロジェクト: wcatykid/GeoShader
        public static Triangle ConstructDefaultTriangle()
        {
            Point other1 = PointFactory.GeneratePoint(Figure.GenerateIntValue(), 0);
            Point other2 = PointFactory.GeneratePoint(Figure.GenerateIntValue(), Figure.GenerateIntValue());

            return(new Triangle(origin, other1, other2));
        }