Skip to content

Commit 583222a

Browse files
committed
bugfix
1 parent 4c2860e commit 583222a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/functions/makieTools.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ function plotSphere!(ax, radius=1.0, pos_I=zeros(3), n=256; kwargs...)
9898
θ = LinRange(0, π, n) # Colatitude
9999
φ = LinRange(-π, π, 2n) # Longitude
100100
posBody_I = [radius*[cos(φ)*sin(θ); sin(φ)*sin(θ); cos(θ)] + pos_I for θ in θ, φ in φ]
101+
@show kwargs
101102
surface!(ax, getindex.(posBody_I, 1), getindex.(posBody_I, 2), getindex.(posBody_I, 3);
102-
shading=NoShading, kwargs...)
103+
shading=NoShading)#, kwargs...)
103104
end
104105

105106
function axisoff!(ax)

0 commit comments

Comments
 (0)