Skip to content

Commit 86f0857

Browse files
committed
No specific data type
1 parent cbf2c7c commit 86f0857

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/VortexStepMethodMakieExt.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ module VortexStepMethodMakieExt
22
using Makie, VortexStepMethod
33

44
"""
5-
plot!(ax::Makie.Axis3, panel::VortexStepMethod.Panel; kwargs...)
5+
plot!(ax, panel::VortexStepMethod.Panel; kwargs...)
66
77
Plot a single `Panel` as a `mesh`.
88
The corner points are ordered as: LE1, TE1, TE2, LE2.
99
This creates two triangles: (LE1, TE1, TE2) and (LE1, TE2, LE2).
1010
"""
11-
function Makie.plot!(ax::Makie.Axis3, panel::VortexStepMethod.Panel; color=(:red, 0.2), R_b_w=nothing, T_b_w=nothing, kwargs...)
11+
function Makie.plot!(ax, panel::VortexStepMethod.Panel; color=(:red, 0.2), R_b_w=nothing, T_b_w=nothing, kwargs...)
1212
points = [Point3f(panel.corner_points[:, i]) for i in 1:4]
1313
if !isnothing(R_b_w) && !isnothing(T_b_w)
1414
points = [Point3f(R_b_w * p + T_b_w) for p in points]
@@ -20,11 +20,11 @@ function Makie.plot!(ax::Makie.Axis3, panel::VortexStepMethod.Panel; color=(:red
2020
end
2121

2222
"""
23-
plot!(ax::Makie.Axis3, body::VortexStepMethod.BodyAerodynamics; kwargs...)
23+
plot!(ax, body::VortexStepMethod.BodyAerodynamics; kwargs...)
2424
2525
Plot a `BodyAerodynamics` object by plotting each of its panels.
2626
"""
27-
function Makie.plot!(ax::Makie.Axis3, body::VortexStepMethod.BodyAerodynamics; color=(:red, 0.2), R_b_w=nothing, T_b_w=nothing, kwargs...)
27+
function Makie.plot!(ax, body::VortexStepMethod.BodyAerodynamics; color=(:red, 0.2), R_b_w=nothing, T_b_w=nothing, kwargs...)
2828
for panel in body.panels
2929
Makie.plot!(ax, panel; color, R_b_w, T_b_w, kwargs...)
3030
end

0 commit comments

Comments
 (0)