Exemplo n.º 1
0
        public static Vector3Container operator +(Vector3Container v1, Vector3Container v2)
        {
            Vector3Container result = Pool <Vector3Container> .GetTemporalIfFunctionEnabled();

            MVector.AddTo(ref v1.Vector, ref v2.Vector, ref result.Vector);
            return(result);
        }
Exemplo n.º 2
0
 public void Add(ref Vector3 v)
 {
     MVector.AddTo(ref Vector, ref v);
 }