Emergency 20 Dokumentation  4.2.0
camp_ext::ValueMapper< glm::vec2 > Struct Template Reference

Value mapper for glm::vec2. More...

#include <CampGlmVec2.h>

Static Public Member Functions

static camp::UserObject to (const glm::vec2 &source)
 
static glm::vec2 from (bool source)
 
static glm::vec2 from (long source)
 
static glm::vec2 from (double source)
 
static glm::vec2 from (const std::string &source)
 
static glm::vec2 from (const camp::EnumObject &source)
 
static glm::vec2 from (const camp::UserObject &source)
 

Static Public Attributes

static const int type = camp::userType
 CAMP type associated to glm::vec2. More...
 

Detailed Description

template<>
struct camp_ext::ValueMapper< glm::vec2 >

Value mapper for glm::vec2.

Note
  • This class tells CAMP how to handle glm::vec2 as an user type

Member Function Documentation

static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( bool  source)
inlinestatic
static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( long  source)
inlinestatic
static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( double  source)
inlinestatic
static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( const std::string &  source)
static
static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( const camp::EnumObject &  source)
inlinestatic
static glm::vec2 camp_ext::ValueMapper< glm::vec2 >::from ( const camp::UserObject &  source)
static
static camp::UserObject camp_ext::ValueMapper< glm::vec2 >::to ( const glm::vec2 &  source)
static

Member Data Documentation

const int camp_ext::ValueMapper< glm::vec2 >::type = camp::userType
static

CAMP type associated to glm::vec2.


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