Skip to content

Commit

Permalink
use x3p_image rather than image_x3p
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed May 23, 2024
1 parent b957c4c commit 74eb390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ parse_rgluiprev <- function(x)
render_land <- function(src,x3p,ccut)
{
imgsrc <- gsub(".x3p$",".png",src)
image_x3p(x3p_sample(x3p_add_hline(x3p,yintercept = ccut, size = 20, color = "#ea2b1f"),m=5) %>% x3p_rotate(),zoom=1)
x3p_image(x3p_sample(x3p_add_hline(x3p,yintercept = ccut, size = 20, color = "#ea2b1f"),m=5) %>% x3p_rotate(),zoom=1)
snapshot3d(imgsrc,webshot=TRUE)
return(imgsrc)
}
Expand Down

0 comments on commit 74eb390

Please sign in to comment.