Add Vertex

Add triangle & quad examples
This commit is contained in:
2026-11-09 15:50:23 +01:00
parent 4f91b8081d
commit 948c5e067e
4 changed files with 97 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#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) {}
};