it works??
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user