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

Value mapper for glm::vec3. More...

#include <CampGlmVec3.h>

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

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

Value mapper for glm::vec3.

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

Member Function Documentation

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

Member Data Documentation

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

CAMP type associated to glm::vec3.


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