Formatting
This commit is contained in:
@@ -3,20 +3,20 @@
|
||||
#define COORDINATES_H
|
||||
|
||||
namespace coordinates {
|
||||
struct SphericalPos {
|
||||
double cos_theta;
|
||||
double phi;
|
||||
};
|
||||
struct SphericalPos {
|
||||
double cos_theta;
|
||||
double phi;
|
||||
};
|
||||
|
||||
struct CartesianPos {
|
||||
double x;
|
||||
double y;
|
||||
double z;
|
||||
};
|
||||
struct CartesianPos {
|
||||
double x;
|
||||
double y;
|
||||
double z;
|
||||
};
|
||||
|
||||
SphericalPos rotate(const SphericalPos&, double, double);
|
||||
CartesianPos spherical_to_xyz(const SphericalPos&);
|
||||
SphericalPos xyz_to_spherical(const CartesianPos&);
|
||||
}
|
||||
SphericalPos rotate(const SphericalPos &, double, double);
|
||||
CartesianPos spherical_to_xyz(const SphericalPos &);
|
||||
SphericalPos xyz_to_spherical(const CartesianPos &);
|
||||
} // namespace coordinates
|
||||
|
||||
#endif //COORDINATES_H
|
||||
#endif // COORDINATES_H
|
||||
|
||||
Reference in New Issue
Block a user