OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdMeshVertex Struct Reference

#include <StdMeshMath.h>

Public Member Functions

 StdMeshVertex ()
 

Public Attributes

float u {0}
 
float v {0}
 
float nx {0}
 
float ny {0}
 
float nz {0}
 
float x {0}
 
float y {0}
 
float z {0}
 
float bone_weight [MaxBoneWeightCount]
 
uint16_t bone_index [MaxBoneWeightCount]
 
char _padding [16]
 

Static Public Attributes

static const size_t MaxBoneWeightCount = 8
 

Detailed Description

Definition at line 35 of file StdMeshMath.h.

Constructor & Destructor Documentation

StdMeshVertex::StdMeshVertex ( )
inline

Definition at line 49 of file StdMeshMath.h.

50  {
51  std::uninitialized_fill(std::begin(bone_weight), std::end(bone_weight), 0);
52  std::uninitialized_fill(std::begin(bone_index), std::end(bone_index), 0);
53  std::uninitialized_fill(std::begin(_padding), std::end(_padding), 0);
54  }
char _padding[16]
Definition: StdMeshMath.h:47
float bone_weight[MaxBoneWeightCount]
Definition: StdMeshMath.h:44
uint16_t bone_index[MaxBoneWeightCount]
Definition: StdMeshMath.h:45

Member Data Documentation

char StdMeshVertex::_padding[16]

Definition at line 47 of file StdMeshMath.h.

uint16_t StdMeshVertex::bone_index[MaxBoneWeightCount]
float StdMeshVertex::bone_weight[MaxBoneWeightCount]
const size_t StdMeshVertex::MaxBoneWeightCount = 8
static
float StdMeshVertex::nx {0}

Definition at line 41 of file StdMeshMath.h.

Referenced by operator*(), operator+=(), and OgreToClonk::TransformVertex().

float StdMeshVertex::ny {0}

Definition at line 41 of file StdMeshMath.h.

Referenced by operator*(), operator+=(), and OgreToClonk::TransformVertex().

float StdMeshVertex::nz {0}

Definition at line 41 of file StdMeshMath.h.

Referenced by operator*(), operator+=(), and OgreToClonk::TransformVertex().

float StdMeshVertex::u {0}

Definition at line 40 of file StdMeshMath.h.

Referenced by operator*().

float StdMeshVertex::v {0}

Definition at line 40 of file StdMeshMath.h.

Referenced by operator*().

float StdMeshVertex::x {0}
float StdMeshVertex::y {0}
float StdMeshVertex::z {0}

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