mirror of
git://opensimulator.org/git/opensim
synced 2026-08-15 17:42:16 +00:00
Currently the vm is at a early stage and very limited: currently only supports static methods (instance methods support is nearly finished though) currently a class can't have member variables, so currently only local variables in the methods. Also in this branch, connecting the vm to opensim is not completely finished: it is being uploaded just for viewing purposes.
29 lines
515 B
C#
29 lines
515 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Axiom.MathLib;
|
|
|
|
namespace OpenSim.types
|
|
{
|
|
public class Triangle
|
|
{
|
|
Vector3 a;
|
|
Vector3 b;
|
|
Vector3 c;
|
|
|
|
public Triangle()
|
|
{
|
|
a = new Vector3();
|
|
b = new Vector3();
|
|
c = new Vector3();
|
|
}
|
|
|
|
public Triangle(Vector3 A, Vector3 B, Vector3 C)
|
|
{
|
|
a = A;
|
|
b = B;
|
|
c = C;
|
|
}
|
|
}
|
|
}
|