Ejemplo n.º 1
0
        public void Move(float x, float y, float z)
        {
            Vector3 adjustment = new Vector3(x, y, z);

            VectorHelper.VectorAdd(Vertex, adjustment, out var vertex);
            Vertex = vertex;
        }
Ejemplo n.º 2
0
        public void Move(float x, float y, float z)
        {
            Vector3 adjustment = new Vector3(x, y, z);

            VectorHelper.VectorAdd(V1, adjustment, out var v1);
            VectorHelper.VectorAdd(V2, adjustment, out var v2);
            VectorHelper.VectorAdd(V3, adjustment, out var v3);
            V1 = v1;
            V2 = v2;
            V3 = v3;
        }