Say I have phi starting at 0 and ending at 180. Theta starts at 0 and ends at 180, each with 5 points. I am trying to 3d plot phi * theta number of points around a sphere.
This is how I plot a single point.
Real radius(90.0);
Radian theta(90.0);
Radian phi(90.0);
Vector3 result;
result.x = radius * Math::Cos(phi) * Math::Sin(theta);
result.z = radius * Math::Sin(phi) * Math::Sin(theta);
result.y = radius * Math::Cos(theta);
Can anyone help w/ how to plot the number of points evenly around a sphere?