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
 
float v
 
float nx
 
float ny
 
float nz
 
float x
 
float y
 
float z
 
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.

49  : u(0), v(0), nx(0), ny(0), nz(0), x(0), y(0), z(0)
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

Definition at line 41 of file StdMeshMath.h.

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

float StdMeshVertex::ny

Definition at line 41 of file StdMeshMath.h.

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

float StdMeshVertex::nz

Definition at line 41 of file StdMeshMath.h.

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

float StdMeshVertex::u

Definition at line 40 of file StdMeshMath.h.

Referenced by operator*().

float StdMeshVertex::v

Definition at line 40 of file StdMeshMath.h.

Referenced by operator*().

float StdMeshVertex::x
float StdMeshVertex::y
float StdMeshVertex::z

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