Files
hwr2024_a/GDP/D3D9/Vertex.h
T
david 17b18859b3 Add vertex
Add triangle & quad examples
2026-11-09 12:16:43 +01:00

15 lines
216 B
C

#pragma once
#include <d3d9.h>
#define FVF D3DFVF_XYZ
struct Vertex
{
// position
float x;
float y;
float z;
Vertex() : x(0.0f), y(0.0f), z(0.0f) {}
Vertex(float x, float y, float z) : x(x), y(y), z(z) {}
};