fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
create_projection_matrix
Subroutine
22 statements
Source File
fortplot_projection.f90
fortplot_projection
create_projection_matrix
Contents
public subroutine create_projection_matrix(azim, elev, dist, proj_matrix)
Create 4x4 projection matrix for 3D to 2D transformation
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
azim
real(kind=wp),
intent(in)
::
elev
real(kind=wp),
intent(in)
::
dist
real(kind=wp),
intent(out)
::
proj_matrix
(4,4)