Add texture loading
Add uv mapping
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user