mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-09 17:23:50 +01:00
f5c6d3e945
find -type f | # list all regular files grep -E '\.(h|cpp|mm)$' | # filter for source files grep -v '/mt_' | # filter out generated files grep -v '/vendor/' | # and vendored GL grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays) xargs -n 1 -P $(nproc) clang-format -i # reformat everything Co-authored-by: numzero <numzer0@yandex.ru>
35 lines
563 B
C++
35 lines
563 B
C++
#pragma once
|
|
|
|
namespace irr
|
|
{
|
|
namespace video
|
|
{
|
|
|
|
//! Enumeration for all vertex attributes there are.
|
|
enum E_VERTEX_ATTRIBUTES
|
|
{
|
|
EVA_POSITION = 0,
|
|
EVA_NORMAL,
|
|
EVA_COLOR,
|
|
EVA_TCOORD0,
|
|
EVA_TCOORD1,
|
|
EVA_TANGENT,
|
|
EVA_BINORMAL,
|
|
EVA_COUNT
|
|
};
|
|
|
|
//! Array holding the built in vertex attribute names
|
|
const char *const sBuiltInVertexAttributeNames[] =
|
|
{
|
|
"inVertexPosition",
|
|
"inVertexNormal",
|
|
"inVertexColor",
|
|
"inTexCoord0",
|
|
"inTexCoord1",
|
|
"inVertexTangent",
|
|
"inVertexBinormal",
|
|
0};
|
|
|
|
} // end namespace video
|
|
} // end namespace irr
|