public static Vector3 Vector3FromAngleXY(float angle) { Vector4 v = Vector2.Transform(Vector2.UnitX, Matrix.RotationZ(angle)); return(new Vector3(v.X, v.Y, 0)); }
public static Vector3 Vector3FromAngleXY(float angle) { Vector4 v = Vector2.Transform(Vector2.UnitX, Matrix.RotationZ(angle)); return(new Vector3(v.X, v.Y, 0)); }