#include <vec3.h>
Definition at line 37 of file vec3.h.
◆ Vec3() [1/2]
constexpr mcl_3dl::Vec3::Vec3 |
( |
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z |
|
) |
| |
|
inlineconstexpr |
◆ Vec3() [2/2]
constexpr mcl_3dl::Vec3::Vec3 |
( |
| ) |
|
|
inlineconstexpr |
◆ cross()
constexpr Vec3 mcl_3dl::Vec3::cross |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ dot()
constexpr float mcl_3dl::Vec3::dot |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ norm()
float mcl_3dl::Vec3::norm |
( |
| ) |
const |
|
inline |
◆ normalized()
Vec3 mcl_3dl::Vec3::normalized |
( |
| ) |
const |
|
inline |
◆ operator!=()
constexpr bool mcl_3dl::Vec3::operator!= |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ operator*()
constexpr Vec3 mcl_3dl::Vec3::operator* |
( |
const float |
s | ) |
const |
|
inlineconstexpr |
◆ operator*=()
Vec3& mcl_3dl::Vec3::operator*= |
( |
const float & |
s | ) |
|
|
inline |
◆ operator+()
constexpr Vec3 mcl_3dl::Vec3::operator+ |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ operator+=()
Vec3& mcl_3dl::Vec3::operator+= |
( |
const Vec3 & |
q | ) |
|
|
inline |
◆ operator-() [1/2]
constexpr Vec3 mcl_3dl::Vec3::operator- |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator-() [2/2]
constexpr Vec3 mcl_3dl::Vec3::operator- |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ operator-=()
Vec3& mcl_3dl::Vec3::operator-= |
( |
const Vec3 & |
q | ) |
|
|
inline |
◆ operator/()
constexpr Vec3 mcl_3dl::Vec3::operator/ |
( |
const float |
s | ) |
const |
|
inlineconstexpr |
◆ operator/=()
Vec3& mcl_3dl::Vec3::operator/= |
( |
const float & |
s | ) |
|
|
inline |
◆ operator==()
constexpr bool mcl_3dl::Vec3::operator== |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ operator[]() [1/2]
float& mcl_3dl::Vec3::operator[] |
( |
const size_t |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
float mcl_3dl::Vec3::operator[] |
( |
const size_t |
i | ) |
const |
|
inline |
◆ times()
constexpr Vec3 mcl_3dl::Vec3::times |
( |
const Vec3 & |
q | ) |
const |
|
inlineconstexpr |
◆ x_
◆ y_
◆ z_
The documentation for this class was generated from the following file: