Triangle.cs 515 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Axiom.MathLib;
  5. namespace OpenSim.types
  6. {
  7. public class Triangle
  8. {
  9. Vector3 a;
  10. Vector3 b;
  11. Vector3 c;
  12. public Triangle()
  13. {
  14. a = new Vector3();
  15. b = new Vector3();
  16. c = new Vector3();
  17. }
  18. public Triangle(Vector3 A, Vector3 B, Vector3 C)
  19. {
  20. a = A;
  21. b = B;
  22. c = C;
  23. }
  24. }
  25. }