Home
last modified time | relevance | path

Searched refs:g_camera (Results 1 – 17 of 17) sorted by relevance

/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/Testbed/Framework/
H A DMain.cpp90 g_camera.m_width = width; in sResizeWindow()
91 g_camera.m_height = height; in sResizeWindow()
165 g_camera.m_zoom = 1.0f; in sKeyCallback()
171 g_camera.m_zoom = b2Min(1.1f * g_camera.m_zoom, 20.0f); in sKeyCallback()
176 g_camera.m_zoom = b2Max(0.9f * g_camera.m_zoom, 0.02f); in sKeyCallback()
313 g_camera.m_zoom /= 1.1f; in sScrollCallback()
345 g_camera.m_zoom = 1.0f; in sSimulate()
434 g_camera.m_width = 1024; in main()
435 g_camera.m_height = 640; in main()
509 glfwGetWindowSize(mainWindow, &g_camera.m_width, &g_camera.m_height); in main()
[all …]
H A DDebugDraw.cpp36 Camera g_camera; variable
294 g_camera.BuildProjectionMatrix(proj, 0.0f); in Flush()
429 g_camera.BuildProjectionMatrix(proj, 0.1f); in Flush()
557 g_camera.BuildProjectionMatrix(proj, 0.2f); in Flush()
788 b2Vec2 ps = g_camera.ConvertWorldToScreen(pw); in DrawString()
H A DDebugDraw.h92 extern Camera g_camera;
/dports/misc/box2d/box2d-2.4.1/testbed/
H A Dmain.cpp116 g_camera.m_width = width; in ResizeWindowCallback()
117 g_camera.m_height = height; in ResizeWindowCallback()
148 g_camera.m_center.x -= 0.5f; in KeyCallback()
193 g_camera.m_zoom = 1.0f; in KeyCallback()
199 g_camera.m_zoom = b2Min(1.1f * g_camera.m_zoom, 20.0f); in KeyCallback()
204 g_camera.m_zoom = b2Max(0.9f * g_camera.m_zoom, 0.02f); in KeyCallback()
341 g_camera.m_zoom /= 1.1f; in ScrollCallback()
345 g_camera.m_zoom *= 1.1f; in ScrollCallback()
568 glfwGetWindowSize(g_mainWindow, &g_camera.m_width, &g_camera.m_height); in main()
584 ImGui::SetNextWindowSize(ImVec2(float(g_camera.m_width), float(g_camera.m_height))); in main()
[all …]
H A Ddraw.cpp33 Camera g_camera; variable
291 g_camera.BuildProjectionMatrix(proj, 0.0f); in Flush()
426 g_camera.BuildProjectionMatrix(proj, 0.1f); in Flush()
554 g_camera.BuildProjectionMatrix(proj, 0.2f); in Flush()
791 b2Vec2 ps = g_camera.ConvertWorldToScreen(pw); in DrawString()
H A Ddraw.h99 extern Camera g_camera;
/dports/games/scummvm/scummvm-2.5.1/engines/icb/
H A Dactor_view_pc.cpp482 g_camera->view.m[0][0] = (int16)(g_camera->view.m[0][0] * 1); in MakeCameraView()
483 g_camera->view.m[0][1] = (int16)(g_camera->view.m[0][1] * 1); in MakeCameraView()
484 g_camera->view.m[0][2] = (int16)(g_camera->view.m[0][2] * 1); in MakeCameraView()
485 g_camera->view.m[1][0] = (int16)(g_camera->view.m[1][0] * 1); in MakeCameraView()
486 g_camera->view.m[1][1] = (int16)(g_camera->view.m[1][1] * 1); in MakeCameraView()
487 g_camera->view.m[1][2] = (int16)(g_camera->view.m[1][2] * 1); in MakeCameraView()
488 g_camera->view.m[2][0] = (int16)(g_camera->view.m[2][0] * 4); in MakeCameraView()
489 g_camera->view.m[2][1] = (int16)(g_camera->view.m[2][1] * 4); in MakeCameraView()
490 g_camera->view.m[2][2] = (int16)(g_camera->view.m[2][2] * 4); in MakeCameraView()
498 g_camera->view.t[1] = 0 + av_y; in ResetCamera()
[all …]
H A Dglobal_vars.cpp157 g_camera = new psxCamera; in CreateGlobalObjects()
201 delete g_camera; in DestroyGlobalObjects()
H A Dglobal_objects_psx.cpp41 psxCamera *g_camera; variable
H A Dglobal_objects_psx.h48 extern psxCamera *g_camera;
/dports/misc/box2d/box2d-2.4.1/testbed/tests/
H A Dskier.cpp108 g_camera.m_center = b2Vec2(m_platform_width / 2.0f, 0.0f); in Skier()
109 g_camera.m_zoom = 0.4f; in Skier()
121 g_camera.m_center = b2Vec2(m_platform_width / 2.0f, 0.0f); in Keyboard()
134 g_camera.m_center = m_skier->GetPosition(); in Step()
H A Dcar.cpp266 g_camera.m_center.x = m_car->GetPosition().x; in Step()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/examples/unityplugin/
H A Dsimple_peer_connection.cc50 static jobject g_camera = nullptr; variable
206 if (g_camera) { in DeletePeerConnection()
213 env->CallStaticVoidMethod(pc_factory_class, stop_camera_method, g_camera); in DeletePeerConnection()
216 g_camera = nullptr; in DeletePeerConnection()
460 g_camera = (jobject)env->NewGlobalRef(camera_tmp); in AddStreams()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/examples/unityplugin/
H A Dsimple_peer_connection.cc50 static jobject g_camera = nullptr; variable
206 if (g_camera) { in DeletePeerConnection()
213 env->CallStaticVoidMethod(pc_factory_class, stop_camera_method, g_camera); in DeletePeerConnection()
216 g_camera = nullptr; in DeletePeerConnection()
460 g_camera = (jobject)env->NewGlobalRef(camera_tmp); in AddStreams()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/
H A Ddynsymlist_game.lds161 g_camera;
H A D_defs_game.lua1541 __index = ffiC.g_camera,
1546 ffiC.g_camera[key] = val
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/Testbed/Tests/
H A DCar.h266 g_camera.m_center.x = m_car->GetPosition().x; in Step()