it works??

This commit is contained in:
Asuro
2025-02-11 20:58:50 +01:00
parent 851db78d66
commit bf2371eca0
12 changed files with 33 additions and 18 deletions

View File

@@ -3,7 +3,6 @@
#include "Global.h"
#include "Instance.h"
#include <bx/math.h>
#include <bgfx/bgfx.h>
namespace
{
@@ -65,7 +64,8 @@ namespace Game
double time = TestY <= 5 ? globalTime * 1.0f : 0.0f;
if (TestX == 4 && TestY == 4)
{
bx::mtxTranslate(Transform.M, 0, 0, bx::lerp(-20.0f, -32.0f, bx::sin(globalTime* 0.5f) * 0.5 + 0.5));
// bx::mtxTranslate(Transform.M, 0, 0, bx::lerp(-20.0f, -32.0f, bx::sin(globalTime* 0.5f) * 0.5 + 0.5));
// bx::mtxTranslate(Transform.M, 0, 0, bx::lerp(0.0f, -32.0f, bx::sin(globalTime* 0.5f) * 0.5 + 0.5));
}
else
{