Add texture loading

Add uv mapping
This commit is contained in:
2026-11-20 11:06:43 +01:00
parent b84f9c1052
commit 491367dfa8
10 changed files with 772 additions and 12 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ using namespace DirectX;
UINT Camera::init(IDirect3DDevice9* pD3DDevice, UINT width, UINT height)
{
// view matrix
XMVECTOR position = XMVectorSet(0.0f, 0.0f, -2.0f, 0.0f);
XMVECTOR position = XMVectorSet(0.0f, 0.0f, -1.0f, 0.0f);
XMVECTOR forward = XMVectorSet(0.0f, 0.0f, 1.0f, 0.0f);
XMVECTOR up = XMVectorSet(0.0f, 1.0f, 0.0f, 0.0f);