public Vector3X add(Vector3X pos) { this.x += pos.x; this.y += pos.y; this.z += pos.z; return(this); }
public Vector3X transformVector(Vector3X vec, Vector3X result = null) { if (result == null) { result = new Vector3X(); } result.x = a * vec.x + c * vec.y + tx; result.y = b * vec.x + d * vec.y + ty; result.z = vec.z; return(result); }
public bool Equals(Vector3X value) { return(x == value.x && y == value.y && z == value.z); }