My Project
|
Modidy camera. More...
#include "../geometry/gmatrix.h"
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) |
Modidy camera.
"scene/cameramodification.h"
Contains modification matrix for camera modification
Definition in file cameramodification.h.
GMatrix matrixmovement | ( | double | X, |
double | Y, | ||
double | Z | ||
) |
Move camera depends target point
[in] | X | X coordinate of target vector |
[in] | Y | Y coordinate of target vector |
[in] | Z | Z coordinate of target vector |
Definition at line 36 of file cameramodification.cpp.
GMatrix matrixrotation | ( | double | X, |
double | Y, | ||
double | Z, | ||
double | angle | ||
) |
Rotate camera around target point
[in] | X | X coordinate of vector around which camera rotates |
[in] | Y | Y coordinate of vector around which camera rotates |
[in] | Z | Z coordinate of vector around which camera rotates |
[in] | angle | Rotation angle |
Definition at line 6 of file cameramodification.cpp.
GMatrix matrixscale | ( | double | k | ) |
Scale camera
[in] | k | Coefficient of scale |