mirror of
https://github.com/ryantimpe/brickr.git
synced 2026-05-04 01:29:43 -05:00
Set the initial FOV=0. This ensures that bricks, no matter their position in relation to the camera, are all the same size.
This commit is contained in:
@@ -248,4 +248,7 @@ build_bricks <- function(brick_list,
|
||||
|
||||
rgl::bg3d(color = background_color)
|
||||
|
||||
rgl::rgl.viewpoint(userMatrix = rgl::rotate3d(rgl::par3d("userMatrix"), 0, 0, 0 ,1) ,
|
||||
fov=0) #All bricks, regardless of Z, are perceived as same size
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user