cesium-native 0.47.0
Loading...
Searching...
No Matches
CesiumGltf::TypeToDimensions< glm::vec< n, T, P > > Struct Template Reference

The number of dimensions that this type contains. More...

#include <CesiumGltf/PropertyTypeTraits.h>

Static Public Attributes

static constexpr glm::length_t dimensions = n
 The number of dimensions present in this glm::vec type.
 

Detailed Description

template<glm::length_t n, typename T, glm::qualifier P>
struct CesiumGltf::TypeToDimensions< glm::vec< n, T, P > >

The number of dimensions that this type contains.

Definition at line 408 of file PropertyTypeTraits.h.

Member Data Documentation

◆ dimensions

template<glm::length_t n, typename T , glm::qualifier P>
glm::length_t CesiumGltf::TypeToDimensions< glm::vec< n, T, P > >::dimensions = n
staticconstexpr

The number of dimensions present in this glm::vec type.

For example, for a glm::dvec3 this value would be 3.

Definition at line 414 of file PropertyTypeTraits.h.


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