| 34 | } |
| 35 | |
| 36 | void 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 | |
| 46 | TestWorld::TestWorld() : World() { |
| 47 | //weak ref test |
nothing calls this directly
no test coverage detected