public static Vector3D Normalize(Vector3D vec){
		float length = vec.Length();
		if(length != 0){
			return new Vector3D(vec.x / length, vec.y / length, vec.z / length);
		}else{
			return vec;
		}
	}