3D half-float vector More...

#include <half_float_vector.h>

Public Member Functions

 Vec3hf ()
 
 Vec3hf (const HalfFloat &scalar)
 
 Vec3hf (const Vec2hf &copy, const HalfFloat &p3)
 
 Vec3hf (const Vec4hf &copy)
 
 Vec3hf (const HalfFloat &p1, const HalfFloat &p2, const HalfFloat &p3)
 
 Vec3hf (const HalfFloat *array_xyz)
 
 Vec3hf (float scalar)
 
 Vec3hf (const Vec2f &copy, float p3)
 
 Vec3hf (const Vec4f &copy)
 
 Vec3hf (float p1, float p2, float p3)
 
 Vec3hf (const float *array_xyz)
 
 Vec3hf (const Vec3hf &copy)
 
 Vec3hf (const Vec3d &copy)
 
 Vec3hf (const Vec3f &copy)
 
 Vec3hf (const Vec3i &copy)
 
 operator Vec3f () const
 
Vec3f to_float () const
 

Public Attributes

HalfFloat x
 
HalfFloat y
 
HalfFloat z
 

Detailed Description

3D half-float vector

Constructor & Destructor Documentation

clan::Vec3hf::Vec3hf ( )
inline
clan::Vec3hf::Vec3hf ( const HalfFloat scalar)
inlineexplicit
clan::Vec3hf::Vec3hf ( const Vec2hf copy,
const HalfFloat p3 
)
inlineexplicit
clan::Vec3hf::Vec3hf ( const HalfFloat p1,
const HalfFloat p2,
const HalfFloat p3 
)
inlineexplicit
clan::Vec3hf::Vec3hf ( const HalfFloat array_xyz)
inlineexplicit
clan::Vec3hf::Vec3hf ( float  scalar)
inlineexplicit
clan::Vec3hf::Vec3hf ( const Vec2f copy,
float  p3 
)
inlineexplicit
clan::Vec3hf::Vec3hf ( const Vec4f copy)
inlineexplicit
clan::Vec3hf::Vec3hf ( float  p1,
float  p2,
float  p3 
)
inlineexplicit
clan::Vec3hf::Vec3hf ( const float *  array_xyz)
inlineexplicit
clan::Vec3hf::Vec3hf ( const Vec3hf copy)
inline
clan::Vec3hf::Vec3hf ( const Vec3d copy)
inline
clan::Vec3hf::Vec3hf ( const Vec3f copy)
inline
clan::Vec3hf::Vec3hf ( const Vec3i copy)
inline

Member Function Documentation

clan::Vec3hf::operator Vec3f ( ) const
inline

References to_float().

Vec3f clan::Vec3hf::to_float ( ) const
inline

Referenced by operator Vec3f().

Member Data Documentation

HalfFloat clan::Vec3hf::x
HalfFloat clan::Vec3hf::y
HalfFloat clan::Vec3hf::z

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