From 2224c87468e8cb7d95f209ee3d52a98d55cf7b03 Mon Sep 17 00:00:00 2001 From: StratiX0 Date: Tue, 2 Apr 2024 12:54:52 +0200 Subject: [PATCH] deplacement cube test --- enginecustom/applicationclass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enginecustom/applicationclass.cpp b/enginecustom/applicationclass.cpp index 8ccc0fb..cd32c19 100644 --- a/enginecustom/applicationclass.cpp +++ b/enginecustom/applicationclass.cpp @@ -762,8 +762,8 @@ bool ApplicationClass::Render(float rotation, float x, float y, float z) } scaleMatrix = XMMatrixScaling(1.0f, 1.0f, 1.0f); // Build the scaling matrix. - rotateMatrix = XMMatrixRotationY(0); // Build the rotation matrix. - translateMatrix = XMMatrixTranslation(0, 0.0f, -10.0f); // Build the translation matrix. + rotateMatrix = XMMatrixRotationY(40); // Build the rotation matrix. + translateMatrix = XMMatrixTranslation(0, -2.0f, -10.0f); // Build the translation matrix. // Multiply the scale, rotation, and translation matrices together to create the final world transformation matrix. srMatrix = XMMatrixMultiply(scaleMatrix, rotateMatrix);