Skip to content

Commit

Permalink
fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Jul 4, 2023
1 parent 34e9072 commit 98c1096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions GLMakie/test/glmakie_refimages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ end
markersize=size,
axis = (; scenekw = (;limits=Rect3f(Point3(0), Point3(1))))
)
update_cam!(ax.scene, Point3f(2.224431, 2.224431, 2.128731), Point3f(0.5957, 0.5957, 0.50000006))
Record(fig, [10, 5, 100, 60, 177]) do i
makenew[] = i
end
Expand All @@ -82,6 +83,7 @@ end
end
end
fig, ax, meshplot = meshscatter(RNG.rand(Point3f, 10^4) .* 20f0)
update_cam!(ax.scene, Point3f(45.383663, 45.38298, 43.136826), Point3f(12.246061, 12.245379, 9.999225))
screen = display(GLMakie.Screen(;renderloop=(screen) -> nothing, start_renderloop=false), fig.scene)
buff = RNG.rand(Point3f, 10^4) .* 20f0;
update_loop(meshplot, buff, screen)
Expand Down
2 changes: 1 addition & 1 deletion test/ray_casting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
center!(scene)
ray = Makie.Ray(scene, (16.0, 306.0))
pos = Makie.position_on_plot(p, 0, ray)
@test pos Point3f(10.0, 0.18444633, 9.989262)
@test pos Point3f(10.0, 0.08616829, 9.989262)
end

# For recreating the above:
Expand Down

0 comments on commit 98c1096

Please sign in to comment.