OpenGL camera parameters.
More...
#include <ccGenericGLDisplay.h>
|
bool | project (const CCVector3d &input3D, CCVector3d &output2D, bool *inFrustum=nullptr) const |
| Projects a 3D point in 2D (+ normalized 'z' coordinate)
|
|
bool | project (const CCVector3 &input3D, CCVector3d &output2D, bool *inFrustum=nullptr) const |
| Projects a 3D point in 2D (+ normalized 'z' coordinate)
|
|
bool | unproject (const CCVector3d &input2D, CCVector3d &output3D) const |
| Unprojects a 2D point (+ normalized 'z' coordinate) in 3D.
|
|
bool | unproject (const CCVector3 &input2D, CCVector3d &output3D) const |
| Unprojects a 2D point (+ normalized 'z' coordinate) in 3D.
|
|
|
ccGLMatrixd | modelViewMat |
| Model view matrix (GL_MODELVIEW)
|
|
ccGLMatrixd | projectionMat |
| Projection matrix (GL_PROJECTION)
|
|
int | viewport [4] |
| Viewport (GL_VIEWPORT)
|
|
bool | perspective |
| Perspective mode.
|
|
float | fov_deg |
| F.O.V. (in degrees)
|
|
double | pixelSize |
| Pixel size (approximate if in perspective mode)
|
|
OpenGL camera parameters.
The documentation for this struct was generated from the following file: