Wizard Engine
2D cross-platform game engine built around SDL2
 
Loading...
Searching...
No Matches
camera.hpp File Reference

Subsystem to handle transformations and spatial projections. More...

Go to the source code of this file.

Classes

class  wze::camera
 

Namespaces

namespace  wze
 Wizard Engine.
 

Detailed Description

Subsystem to handle transformations and spatial projections.

Detransforms and unprojects a plane coordinate.

Transforms and projects a spatial coordinate.

Sets the focus of the camera.

Returns the focus of the camera.

Returns the transformation matrix of the camera.

Sets the angle of the camera.

Returns the angle of the camera.

Sets the z position of the camera.

Returns the z position of the camera.

Sets the y position of the camera.

Returns the y position of the camera.

Sets the x position of the camera.

Returns the x position of the camera.

Private default constructor to prevent instantiation.

Author
Zana Domán, Gunics Roland
Zana Domán
Zana Domán
Returns
X position of the camera.
Author
Zana Domán
Parameters
xX position of the camera.
Author
Zana Domán
Returns
Y position of the camera.
Author
Zana Domán
Parameters
yY position of the camera.
Author
Zana Domán
Returns
Z position of the camera.
Author
Zana Domán
Parameters
zZ position of the camera.
Author
Zana Domán
Returns
Angle of the camera.
Author
Zana Domán
Parameters
angleAngle of the camera.
Author
Zana Domán
Returns
Transformation matrix of the camera.
Author
Zana Domán
Returns
Focus of the camera.
Author
Zana Domán
Parameters
focusFocus of the camera.
Author
Zana Domán, Gunics Roland
Parameters
xX component of the spatial coordinate.
yY component of the spatial coordinate.
zZ component of the spatial coordinate.
Returns
Plane coordinate.
Author
Zana Domán, Gunics Roland
Parameters
xX component of the plane coordinate.
yY component of the plane coordinate.
zZ component of the spatial coordinate.
Returns
Spatial coordinate.

Definition in file camera.hpp.