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

Method ResetCam

RavEngine_Test/WorldTest.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void TestWorld::ResetCam() {
32 player->transform()->SetWorldPosition(vector3(0, -10, 50));
33 player->transform()->SetWorldRotation(quaternion());
34}
35
36void TestWorld::posttick(float fpsScale){
37 //bgfx::dbgTextPrintf(0, 7, 0x4f, "position (%f, %f, %f)", pos.x, pos.y, pos.z);

Callers

nothing calls this directly

Calls 3

SetWorldPositionMethod · 0.80
SetWorldRotationMethod · 0.80
transformMethod · 0.45

Tested by

no test coverage detected