Added: vertex structure
Added: mesh creation & rendering
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#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) {}
|
||||
};
|
||||
Reference in New Issue
Block a user