Euphoria
|
eu::unit3f Struct Reference
#include <vec3.h>
Inheritance diagram for eu::unit3f:
Public Member Functions | |
constexpr unit3f | operator- () const |
constexpr bool | is_valid () const |
bool | operator== (const unit3f &rhs)=delete |
constexpr | unit3f (float a, float b, float c) |
Public Member Functions inherited from eu::vec3f | |
vec3f (float a) | |
vec3f (const std::tuple< float, float, float > &a) | |
constexpr | vec3f (float ax, float ay, float az) |
vec3f (const float *a) | |
vec3f (const vec2f &a, float az) | |
float | dot (const vec3f &rhs) const |
vec3f | cross (const vec3f &u) const |
void | operator+= (const vec3f &rhs) |
void | operator-= (const vec3f &rhs) |
void | operator/= (float rhs) |
void | operator*= (float rhs) |
vec3f | operator- () const |
float * | get_data_ptr () |
const float * | get_data_ptr () const |
constexpr float | get_length_squared () const |
float | get_length () const |
void | normalize () |
unit3f | get_normalized () const |
unit3f | as_normalized () const |
bool | operator== (const vec3f &rhs)=delete |
Static Public Member Functions | |
static unit3f | to_unit (float x, float y, float z) |
static unit3f | to_unit (const vec3f &v) |
Static Public Member Functions inherited from eu::vec3f | |
static vec3f | from_to (const vec3f &from, const vec3f &to) |
Additional Inherited Members | |
Public Attributes inherited from eu::vec3f | |
float | x |
float | y |
float | z |
Detailed Description
Constructor & Destructor Documentation
◆ unit3f()
|
inlineconstexpr |
Member Function Documentation
◆ is_valid()
|
inlineconstexpr |
◆ operator-()
|
inlineconstexpr |
◆ operator==()
|
delete |
◆ to_unit() [1/2]
◆ to_unit() [2/2]
|
static |
The documentation for this struct was generated from the following files: