#include <Vector3f.h>
|
| float | x {} |
| |
| float | y {} |
| |
| float | z {} |
| |
◆ Vector3f() [1/3]
| hdps::Vector3f::Vector3f |
( |
| ) |
|
|
default |
◆ Vector3f() [2/3]
| constexpr hdps::Vector3f::Vector3f |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inlineconstexpr |
◆ Vector3f() [3/3]
| constexpr hdps::Vector3f::Vector3f |
( |
float |
f | ) |
|
|
inlineconstexpr |
◆ add()
Adds the given vector to this vector.
- Parameters
-
◆ length()
| float hdps::Vector3f::length |
( |
| ) |
|
Returns the magnitude of this vector.
- Returns
- the magnitude of this vector
◆ operator!=()
| constexpr bool hdps::Vector3f::operator!= |
( |
const Vector3f & |
v | ) |
const |
|
inlineconstexpr |
◆ operator*() [1/2]
◆ operator*() [2/2]
| constexpr Vector3f hdps::Vector3f::operator* |
( |
float |
scale | ) |
const |
|
inlineconstexpr |
◆ operator*=() [1/2]
◆ operator*=() [2/2]
| Vector3f & hdps::Vector3f::operator*= |
( |
float |
scale | ) |
|
◆ operator+()
◆ operator+=()
◆ operator-() [1/2]
| constexpr Vector3f hdps::Vector3f::operator- |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator-() [2/2]
◆ operator-=()
◆ operator/()
| constexpr Vector3f hdps::Vector3f::operator/ |
( |
float |
divisor | ) |
const |
|
inlineconstexpr |
◆ operator/=()
◆ operator==()
| constexpr bool hdps::Vector3f::operator== |
( |
const Vector3f & |
v | ) |
const |
|
inlineconstexpr |
◆ set()
| void hdps::Vector3f::set |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
Sets the x, y and z components of this vector to the given parameters.
- Parameters
-
| x | the x-component of the vector |
| y | the y-component of the vector |
| z | the z-component of the vector |
◆ sqrMagnitude()
| constexpr float hdps::Vector3f::sqrMagnitude |
( |
| ) |
const |
|
inlineconstexpr |
Returns the squared magnitude of this vector.
- Returns
- the squared magnitude of this vector
◆ str()
| std::string hdps::Vector3f::str |
( |
| ) |
const |
Returns a string representation of this vector.
- Returns
- the string representation
◆ sub()
Subtracts the given vector from this vector.
- Parameters
-
| v | the vector to be subtracted |
| float hdps::Vector3f::x {} |
| float hdps::Vector3f::y {} |
| float hdps::Vector3f::z {} |
The documentation for this class was generated from the following files:
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/graphics/Vector3f.h
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/graphics/Vector3f.cpp