project_2d | R Documentation |
Use a projection matrix to transform 3D world coordinates to 2D
coordinates - for example representing a camera viewing a 3D scene. See
get_projection()
for how to obtain a projection mtarix. This
function is equivalent to the trans3d()
function, but also stores
depth information relative to the camera.
project_2d(x, y, z, proj_mat)
x, y, z |
world coordinates. |
proj_mat |
4*4 projection matrix, as returned from
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.