Skip to content

Commit

Permalink
try fix cats
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Jun 18, 2024
1 parent aa93ed4 commit 9ca81a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ReferenceTests/src/tests/examples3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,13 @@ end

@reference_test "Normals of a Cat" begin
x = loadasset("cat.obj")
mesh(x, color=:black)
f, a, p = mesh(x, color=:black)
pos = map(decompose(Point3f, x), GeometryBasics.normals(x)) do p, n
p => p .+ Point(normalize(n) .* 0.05f0)
end
linesegments!(pos, color=:blue)
current_figure()
Makie.update_state_before_display!(f)
f
end

@reference_test "Sphere Mesh" begin
Expand Down

0 comments on commit 9ca81a6

Please sign in to comment.