using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShaderDemo
{
public class Vector3
{
public int x;
public int y;
public int z;
public Vector3(int x, int y, int z)
{
this.x = x;
this.y = y;
this.z = z;
}
public static Vector3 operator -(Vector3 A, Vector3 vtarger)
{
Vector3 v3 = Zero();
v3.x = A.x - vtarger.x;
v3.y = A.y - vtarger.y;
v3.z = A.z = vtarger.z;
return v3;
}
public static Vector3 operator +(Vector3 vtarger)
{
Vector3 v3 = Zero();
//v3.x = x + vtarger.x;
//v3.y = this.y + vtarger.y;
//v3.z = this.z = vtarger.z;
return v3;
}
public st