Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Vector3 is an utility class for manipulating 3 dimensional vectors. More...
#include <SFML/System/Vector3.hpp>
Public Member Functions | |
| Vector3 () | |
| Default constructor. | |
| Vector3 (T X, T Y, T Z) | |
| Construct the vector from its coordinates. | |
Public Attributes | |
| T | x |
| X coordinate of the vector. | |
| T | y |
| Y coordinate of the vector. | |
| T | z |
| Z coordinate of the vector. | |
Vector3 is an utility class for manipulating 3 dimensional vectors.
Template parameter defines the type of coordinates (integer, float, ...)
Definition at line 37 of file Vector3.hpp.
| sf::Vector3< T >::Vector3 | ( | ) |
Default constructor.
| sf::Vector3< T >::Vector3 | ( | T | X, |
| T | Y, | ||
| T | Z ) |
Construct the vector from its coordinates.
| X | : X coordinate |
| Y | : Y coordinate |
| Z | : Z coordinate |
| T sf::Vector3< T >::x |
X coordinate of the vector.
Definition at line 60 of file Vector3.hpp.
| T sf::Vector3< T >::y |
Y coordinate of the vector.
Definition at line 61 of file Vector3.hpp.
| T sf::Vector3< T >::z |
Z coordinate of the vector.
Definition at line 62 of file Vector3.hpp.