using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenTK; namespace PckStudio.Rendering { internal struct Spherical { private Vector3 vector; public Spherical() { vector = new Vector3(); } /// /// Radial distance /// public float Radius { get => vector.X; set => vector.X = value; } /// /// Polar angle /// public float Theta { get => vector.Y; set => vector.Y = value; } /// /// Azimuthal angle /// public float Phi { get => vector.Z; set => vector.Z = value; } public override string ToString() { return $"Radius: {Radius}; Theta: {Theta}; Phi: {Phi};"; } } }