#include <vector.hh>
Public Types | |
using | self_type = vec3f |
using | value_type = float |
Public Member Functions | |
vec3f & | operator*= (const float s) |
vec3f & | operator/= (const float s) |
vec3f & | operator+= (const vec3f &other) |
vec3f & | operator-= (const vec3f &other) |
bool | operator== (const self_type &other) const |
bool | operator!= (const self_type &other) const |
self_type | operator* (const value_type s) const |
self_type | operator/ (const value_type s) const |
self_type | operator+ (const self_type &other) const |
self_type | operator- (const self_type &other) const |
self_type | operator- () const |
value_type | dot (const vec3f &other) const |
value_type | sqr_magnitude () const |
value_type | norm2 () const |
void | normalize () |
self_type | normalized () const |
value_type & | operator[] (const size_t index) |
const value_type & | operator[] (const size_t index) const |
vec3f ()=default | |
vec3f (const vec3f &)=default | |
vec3f (value_type x_, value_type y_, value_type z_) | |
bool | isfinite () const |
Static Public Member Functions | |
static vec3f | zero () |
static vec3f | components (float _x, float _y, float _z) |
static vec3f | uniform_unit () |
Public Attributes | |
value_type | x |
value_type | y |
value_type | z |
using aether::geometry::vec3f::value_type = float |
|
default |
|
default |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
value_type aether::geometry::vec3f::x |
value_type aether::geometry::vec3f::y |
value_type aether::geometry::vec3f::z |