@override Vector4 setFrom(Vector v) { x = v.x; y = v.y; if(v is Vector4){ z = v.z; w = v.w; } else if (v is Vector3){ z = v.z; } return this; }