Avara3D
0.2.0
C++ API reference
VertexFormats.h
1
//
2
// VertexFormats.h
3
// avara3d
4
//
5
// Created by Morgan Davis on 1/5/26.
6
// Copyright © 2026 Morgan K Davis. All rights reserved.
7
//
8
9
#ifndef AVARA3D_MESH_VERTEXFORMATS_H
10
#define AVARA3D_MESH_VERTEXFORMATS_H
11
12
#include "a3d/Math.h"
13
#include "a3d/mesh/VertexLayout.h"
14
15
namespace
a3d {
16
17
struct
VertexPNT {
18
math::vec3 position;
19
math::vec3 normal;
20
math::vec2 texCoord;
21
};
22
23
struct
VertexPC {
24
math::vec3 position;
25
math::vec3 color;
26
};
27
28
}
29
30
#endif
// AVARA3D_MESH_VERTEXFORMATS_H
a3d
mesh
VertexFormats.h
Generated by
1.9.4