public void GetVector(out Vector3F result) { result.X = MathEx.Cos(Vertical) * MathEx.Cos(Horizontal); result.Y = MathEx.Cos(Vertical) * MathEx.Sin(Horizontal); result.Z = MathEx.Sin(Vertical); }
public void GetVector(out Vector3F result) { result.X = MathEx.Cos(Vertical) * MathEx.Cos(Horizontal); result.Y = MathEx.Cos(Vertical) * MathEx.Sin(Horizontal); result.Z = MathEx.Sin(Vertical); }