MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / posttick

Method posttick

RavEngine_Test/WorldTest.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void TestWorld::posttick(float fpsScale){
37 //bgfx::dbgTextPrintf(0, 7, 0x4f, "position (%f, %f, %f)", pos.x, pos.y, pos.z);
38 //bgfx::dbgTextPrintf(0, 8, 0x4f, "rotation (%f, %f, %f)", rot.x, rot.y, rot.z);
39
40 auto rotation = quaternion(vector3(0, 0, 0.01 * fpsScale));
41 anonymous->transform()->LocalRotateDelta(rotation);
42 //anonymous->transform()->LocalScaleDelta(vector3(0.01 * fpsScale,0,0));
43 scale = fpsScale;
44}
45
46TestWorld::TestWorld() : World() {
47 //weak ref test

Callers

nothing calls this directly

Calls 2

LocalRotateDeltaMethod · 0.80
transformMethod · 0.45

Tested by

no test coverage detected