MCPcopy Create free account
hub / github.com/dhale/jtk / setPerspective

Method setPerspective

core/src/main/java/edu/mines/jtk/sgl/Matrix44.java:721–730  ·  view source on GitHub ↗

Sets this matrix to a perspective-projection matrix. Parameters correspond to those for the OpenGL standard function gluPerspective. @param fovy the field of view, in degrees, in the vertical direction. @param aspect the aspect ratio width/height. @param znear the distance to the near depth clipping

(
    double fovy, double aspect, double znear, double zfar)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

perspectiveMethod · 0.80

Calls 2

setFrustumMethod · 0.95
tanMethod · 0.45

Tested by

no test coverage detected