OpenClonk
C4DrawMeshGL.cpp File Reference
#include "C4Include.h"
#include "C4ForbidLibraryCompilation.h"
#include "graphics/C4DrawGL.h"
#include "graphics/C4GraphicsResource.h"
#include "landscape/fow/C4FoWRegion.h"
#include "lib/SHA1.h"
#include "lib/StdMesh.h"
#include "object/C4Object.h"
#include "object/C4MeshDenumerator.h"
#include <clocale>
Include dependency graph for C4DrawMeshGL.cpp:

Go to the source code of this file.

Macros

#define VERTEX_OFFSET(field)   reinterpret_cast<const uint8_t *>(offsetof(StdMeshVertex, field))
 
#define VERTEX_OFFSET(field)   reinterpret_cast<const uint8_t *>(offsetof(PretransformedMeshVertex, field))
 

Macro Definition Documentation

◆ VERTEX_OFFSET [1/2]

#define VERTEX_OFFSET (   field)    reinterpret_cast<const uint8_t *>(offsetof(StdMeshVertex, field))

◆ VERTEX_OFFSET [2/2]

#define VERTEX_OFFSET (   field)    reinterpret_cast<const uint8_t *>(offsetof(PretransformedMeshVertex, field))