From 50d206649bae215fe698e51e4e59a21cd1384141 Mon Sep 17 00:00:00 2001 From: StratiX0 Date: Thu, 25 Apr 2024 10:04:48 +0200 Subject: [PATCH] refactor: terrain en cube --- enginecustom/applicationclass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enginecustom/applicationclass.cpp b/enginecustom/applicationclass.cpp index d2ab98a..d619213 100644 --- a/enginecustom/applicationclass.cpp +++ b/enginecustom/applicationclass.cpp @@ -1271,13 +1271,13 @@ void ApplicationClass::GenerateTerrain() int scaleX, scaleY, scaleZ; scaleX = 10.0f; - scaleY = 10.0f; + scaleY = 1.0f; scaleZ = 10.0f; scaleMatrix = XMMatrixScaling(scaleX, scaleY, scaleZ); // Set the file name of the model. - strcpy_s(modelFilename, "sphere.txt"); + strcpy_s(modelFilename, "cube.txt"); strcpy_s(textureFilename, "stone01.tga"); strcpy_s(textureFilename2, "moss01.tga"); strcpy_s(textureFilename3, "alpha01.tga");