@@ -2,13 +2,13 @@ module VortexStepMethodMakieExt
22using Makie, VortexStepMethod
33
44"""
5- plot!(ax::Makie.Axis3 , panel::VortexStepMethod.Panel; kwargs...)
5+ plot!(ax, panel::VortexStepMethod.Panel; kwargs...)
66
77Plot a single `Panel` as a `mesh`.
88The corner points are ordered as: LE1, TE1, TE2, LE2.
99This 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
2020end
2121
2222"""
23- plot!(ax::Makie.Axis3 , body::VortexStepMethod.BodyAerodynamics; kwargs...)
23+ plot!(ax, body::VortexStepMethod.BodyAerodynamics; kwargs...)
2424
2525Plot 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