Package com.jogamp.opengl.math.geom
Class Frustum.FovDesc
- java.lang.Object
-
- com.jogamp.opengl.math.geom.Frustum.FovDesc
-
-
Field Summary
Fields Modifier and Type Field Description FovHVHalves
fovhv
Field of view in both directions, may not be centered, eitherFovHVHalves.inTangents
or radians.float
zFar
Far Zfloat
zNear
Near Z
-
Constructor Summary
Constructors Constructor Description FovDesc(FovHVHalves fovhv, float zNear, float zFar)
-
-
-
Field Detail
-
fovhv
public final FovHVHalves fovhv
Field of view in both directions, may not be centered, eitherFovHVHalves.inTangents
or radians.
-
zNear
public final float zNear
Near Z
-
zFar
public final float zFar
Far Z
-
-
Constructor Detail
-
FovDesc
public FovDesc(FovHVHalves fovhv, float zNear, float zFar) throws IllegalArgumentException
- Parameters:
fovhv
- field of view in both directions, may not be centered, eitherFovHVHalves.inTangents
or radianszNear
-zFar
-- Throws:
IllegalArgumentException
- ifzNear <= 0
orzFar <= zNear
.
-
-