From 1e8c3710a5662622cd4eb9ebb2bddd6144f72639 Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Wed, 11 Mar 2026 20:38:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BE=B9=E7=95=8C=E6=A1=86?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E5=88=B0=E7=9B=B8=E6=9C=BA=E5=89=8D=E6=96=B9?= =?UTF-8?q?=20z=3D80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 37a63314..8a70cd8a 100644 --- a/main.cpp +++ b/main.cpp @@ -254,7 +254,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi staticMeshComponent.Render(commandList); DirectX::XMMATRIX bboxScale = DirectX::XMMatrixScaling(bboxSize[0], bboxSize[1], bboxSize[2]); - DirectX::XMMATRIX bboxTranslate = DirectX::XMMatrixTranslation(bboxCenter[0], bboxCenter[1], bboxCenter[2]); + DirectX::XMMATRIX bboxTranslate = DirectX::XMMatrixTranslation(0.0f, 0.0f, 80.0f); DirectX::XMMATRIX bboxModel = bboxScale * bboxTranslate; DirectX::XMMATRIX bboxViewProj = bboxModel * viewMatrix * projectionMatrix; DirectX::XMFLOAT4X4 bboxViewProjMat;