licornea_tools
Public Member Functions | Public Attributes | List of all members
tlz::point_xyz Struct Reference

#include <point.h>

Inheritance diagram for tlz::point_xyz:
[legend]

Public Member Functions

 point_xyz ()=default
 
 point_xyz (const point_xyz &)=default
 
 point_xyz (float x_, float y_, float z_)
 
 point_xyz (const vec3 &pos)
 
point_xyzoperator= (const point_xyz &)=default
 
point_xyzoperator= (const vec3 &pos)
 
void set_position (const vec3 &pos)
 
vec3 position () const
 
void set_non_null ()
 
void set_null ()
 
bool is_null () const
 
 operator bool () const
 

Public Attributes

float x = 0.0
 
float y = 0.0
 
float z = 0.0
 
float w = 0.0
 

Detailed Description

Definition at line 13 of file point.h.

Constructor & Destructor Documentation

tlz::point_xyz::point_xyz ( )
default
tlz::point_xyz::point_xyz ( const point_xyz )
default
tlz::point_xyz::point_xyz ( float  x_,
float  y_,
float  z_ 
)
inline

Definition at line 19 of file point.h.

tlz::point_xyz::point_xyz ( const vec3 pos)
inline

Definition at line 21 of file point.h.

Here is the call graph for this function:

Member Function Documentation

bool tlz::point_xyz::is_null ( ) const
inline

Definition at line 34 of file point.h.

tlz::point_xyz::operator bool ( ) const
inlineexplicit

Definition at line 35 of file point.h.

Here is the call graph for this function:

point_xyz& tlz::point_xyz::operator= ( const point_xyz )
default
point_xyz& tlz::point_xyz::operator= ( const vec3 pos)
inline

Definition at line 25 of file point.h.

Here is the call graph for this function:

vec3 tlz::point_xyz::position ( ) const
inline

Definition at line 30 of file point.h.

void tlz::point_xyz::set_non_null ( )
inline

Definition at line 32 of file point.h.

void tlz::point_xyz::set_null ( )
inline

Definition at line 33 of file point.h.

void tlz::point_xyz::set_position ( const vec3 pos)
inline

Definition at line 28 of file point.h.

Member Data Documentation

float tlz::point_xyz::w = 0.0

Definition at line 15 of file point.h.

float tlz::point_xyz::x = 0.0

Definition at line 15 of file point.h.

float tlz::point_xyz::y = 0.0

Definition at line 15 of file point.h.

float tlz::point_xyz::z = 0.0

Definition at line 15 of file point.h.


The documentation for this struct was generated from the following file: