aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/World/types/Triangle.cs
blob: 488cc21a4af873518649ac8488c9019ffc38e75c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Text;
using Axiom.MathLib;

namespace OpenSim.Region.types
{
    public class Triangle
    {
        Vector3 a;
        Vector3 b;
        Vector3 c;

        /// <summary>
        /// 
        /// </summary>
        public Triangle()
        {
            a = new Vector3();
            b = new Vector3();
            c = new Vector3();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="A"></param>
        /// <param name="B"></param>
        /// <param name="C"></param>
        public Triangle(Vector3 A, Vector3 B, Vector3 C)
        {
            a = A;
            b = B;
            c = C;
        }
    }
}