Panda3D
Functions
matrixLens.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "matrixLens.h"
#include "indent.h"
#include "bamReader.h"
#include "bamWriter.h"

Go to the source code of this file.

Functions

 PT (Lens) MatrixLens
 Allocates a new Lens just like this one. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2001-12-12

Definition in file matrixLens.cxx.

Function Documentation

◆ PT()

PT ( Lens  )

Allocates a new Lens just like this one.

Returns true if the lens represents a linear projection (e.g. PerspectiveLens, MatrixLens), and therefore there is a valid matrix returned by get_projection_mat(), or false otherwise. Computes the complete transformation matrix from 3-d point to 2-d point, if the lens is linear.

Definition at line 25 of file matrixLens.cxx.