Skip to content

Commit 406cb69

Browse files
committed
Readying.
1 parent e78f3e2 commit 406cb69

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

ksp_plugin/interface_planetarium.cpp

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,7 @@ void __cdecl principia__PlanetariumPlotFlightPlanSegment(
137137
int const vertices_size,
138138
int* const vertex_count) {
139139
journal::Method<journal::PlanetariumPlotFlightPlanSegment> m(
140-
{planetarium,
141-
plugin,
142-
vessel_guid,
143-
index,
144-
t_max,
145-
vertices,
146-
vertices_size},
140+
{planetarium, plugin, vessel_guid, index, t_max, vertices, vertices_size},
147141
{vertex_count});
148142
CHECK_NOTNULL(plugin);
149143
CHECK_NOTNULL(planetarium);
@@ -184,12 +178,7 @@ void __cdecl principia__PlanetariumPlotPrediction(
184178
int const vertices_size,
185179
int* const vertex_count) {
186180
journal::Method<journal::PlanetariumPlotPrediction> m(
187-
{planetarium,
188-
plugin,
189-
vessel_guid,
190-
t_max,
191-
vertices,
192-
vertices_size},
181+
{planetarium, plugin, vessel_guid, t_max, vertices, vertices_size},
193182
{vertex_count});
194183
CHECK_NOTNULL(plugin);
195184
CHECK_NOTNULL(planetarium);
@@ -392,11 +381,7 @@ void __cdecl principia__PlanetariumPlotEquipotential(
392381
int const vertices_size,
393382
int* const vertex_count) {
394383
journal::Method<journal::PlanetariumPlotEquipotential> m(
395-
{planetarium,
396-
plugin,
397-
index,
398-
vertices,
399-
vertices_size},
384+
{planetarium, plugin, index, vertices, vertices_size},
400385
{vertex_count});
401386
CHECK_NOTNULL(plugin);
402387
CHECK_NOTNULL(planetarium);

ksp_plugin/planetarium.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Planetarium {
123123

124124
// A method similar to PlotMethod2, but which produces a three-dimensional
125125
// trajectory in scaled space instead of projecting and hiding. It uses the
126-
// apparent angle of the sagitta as a metric to analyse curvature.
126+
// apparent angle of the sagitta as the metric to analyse curvature.
127127
void PlotMethod3(
128128
Trajectory<Barycentric> const& trajectory,
129129
DiscreteTrajectory<Barycentric>::iterator begin,
@@ -145,8 +145,8 @@ class Planetarium {
145145
int max_points,
146146
Length* minimal_distance = nullptr) const;
147147

148-
// A method similar to PlotMethod4, but which uses the RMS of the distance
149-
// between the trajectory and line segments.
148+
// A method similar to PlotMethod4, but which uses the RMS of the apparent
149+
// distance between the trajectory and line segments.
150150
void PlotMethod4(
151151
Trajectory<Barycentric> const& trajectory,
152152
DiscreteTrajectory<Barycentric>::iterator begin,

0 commit comments

Comments
 (0)