Files
gpd-925-en/GraphicsProgramming/D3D11/Vertex.h
T
david 2fb45a5c02 Added: vertex structure
Added: mesh creation & rendering
2026-10-05 18:35:10 +02:00

13 lines
241 B
C++

#pragma once
#include <DirectXMath.h>
using namespace DirectX;
struct Vertex
{
XMFLOAT3 position;
Vertex() : position(0.0f, 0.0f, 0.0f) {}
Vertex(float x, float y, float z) : position(x, y, z) {}
Vertex(XMFLOAT3 p) : position(p) {}
};