2D half-float vector More...

#include <half_float_vector.h>

Public Member Functions

 Vec2hf ()
 
 Vec2hf (const HalfFloat &scalar)
 
 Vec2hf (const Vec3hf &copy)
 
 Vec2hf (const Vec4hf &copy)
 
 Vec2hf (const HalfFloat &p1, const HalfFloat &p2)
 
 Vec2hf (const HalfFloat *array_xy)
 
 Vec2hf (float scalar)
 
 Vec2hf (const Vec3f &copy)
 
 Vec2hf (const Vec4f &copy)
 
 Vec2hf (float p1, float p2)
 
 Vec2hf (float *array_xy)
 
 Vec2hf (const Pointx< int > &point)
 
 Vec2hf (const Pointx< float > &point)
 
 Vec2hf (const Pointx< double > &point)
 
 Vec2hf (const Vec2hf &copy)
 
 Vec2hf (const Vec2d &copy)
 
 Vec2hf (const Vec2f &copy)
 
 Vec2hf (const Vec2i &copy)
 
 operator Vec2f () const
 
Vec2f to_float () const
 

Public Attributes

HalfFloat x
 
HalfFloat y
 

Detailed Description

2D half-float vector

Constructor & Destructor Documentation

clan::Vec2hf::Vec2hf ( )
inline
clan::Vec2hf::Vec2hf ( const HalfFloat scalar)
inlineexplicit
clan::Vec2hf::Vec2hf ( const HalfFloat p1,
const HalfFloat p2 
)
inlineexplicit
clan::Vec2hf::Vec2hf ( const HalfFloat array_xy)
inlineexplicit
clan::Vec2hf::Vec2hf ( float  scalar)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Vec3f copy)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Vec4f copy)
inlineexplicit
clan::Vec2hf::Vec2hf ( float  p1,
float  p2 
)
inlineexplicit
clan::Vec2hf::Vec2hf ( float *  array_xy)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Pointx< int > &  point)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Pointx< float > &  point)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Pointx< double > &  point)
inlineexplicit
clan::Vec2hf::Vec2hf ( const Vec2hf copy)
inline
clan::Vec2hf::Vec2hf ( const Vec2d copy)
inline
clan::Vec2hf::Vec2hf ( const Vec2f copy)
inline
clan::Vec2hf::Vec2hf ( const Vec2i copy)
inline

Member Function Documentation

clan::Vec2hf::operator Vec2f ( ) const
inline

References to_float().

Vec2f clan::Vec2hf::to_float ( ) const
inline

Referenced by operator Vec2f().

Member Data Documentation

HalfFloat clan::Vec2hf::x
HalfFloat clan::Vec2hf::y

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