29 lines
844 B
Plaintext
29 lines
844 B
Plaintext
// Filename: orthoProjection.I
|
|
// Created by: mike (18Feb99)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: OrthoProjection::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE OrthoProjection::
|
|
OrthoProjection(const Frustumf &frustum) : _frustum(frustum) {
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: OrthoProjection::get_frustum
|
|
// Access: Public
|
|
// Description: Returns the frustum that defines the perspective
|
|
// projection.
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE const Frustumf &OrthoProjection::
|
|
get_frustum() const {
|
|
return _frustum;
|
|
}
|
|
|
|
|
|
|