My Project
Functions
cameramodification.h File Reference

Modidy camera. More...

#include "../geometry/gmatrix.h"
Include dependency graph for cameramodification.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GMatrix matrixrotation (double X, double Y, double Z, double angle)
 
GMatrix matrixmovement (double X, double Y, double Z)
 
GMatrix matrixscale (double k)
 

Detailed Description

Modidy camera.

"scene/cameramodification.h"

Author
Dmitry Zaitsev
Version
2.0
Date
02 November 2016

Contains modification matrix for camera modification

Definition in file cameramodification.h.

Function Documentation

§ matrixmovement()

GMatrix matrixmovement ( double  X,
double  Y,
double  Z 
)

Move camera depends target point

Parameters
[in]XX coordinate of target vector
[in]YY coordinate of target vector
[in]ZZ coordinate of target vector

Definition at line 36 of file cameramodification.cpp.

Here is the caller graph for this function:

§ matrixrotation()

GMatrix matrixrotation ( double  X,
double  Y,
double  Z,
double  angle 
)

Rotate camera around target point

Parameters
[in]XX coordinate of vector around which camera rotates
[in]YY coordinate of vector around which camera rotates
[in]ZZ coordinate of vector around which camera rotates
[in]angleRotation angle

Definition at line 6 of file cameramodification.cpp.

Here is the caller graph for this function:

§ matrixscale()

GMatrix matrixscale ( double  k)

Scale camera

Parameters
[in]kCoefficient of scale