Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 957 vs 968 for /trunk/Source Code/Scenes/TenisScene/TenisScene.cpp

Diff revisions: vs.
  @@ -42,9 +42,9 @@
42 42 _team2 = nullptr;
43 43 }
44 44
45 - void TenisScene::processGUI(const U64 deltaTime) {
45 + void TenisScene::processGUI(const U64 deltaTimeUS) {
46 46 D64 FpsDisplay = 0.7;
47 - if (_guiTimers[0] >= FpsDisplay) {
47 + if (_guiTimersMS[0] >= FpsDisplay) {
48 48 _GUI->modifyText(_ID("fpsDisplay"),
49 49 Util::StringFormat("FPS: %3.0f. FrameTime: %3.1f",
50 50 Time::ApplicationTimer::instance().getFps(),
  @@ -53,13 +53,13 @@
53 53 Util::StringFormat("Number of items in Render Bin: %d. Number of HiZ culled items: %d",
54 54 _context.gfx().parent().renderPassManager().getLastTotalBinSize(RenderStage::DISPLAY),
55 55 _context.gfx().getLastCullCount()));
56 - _guiTimers[0] = 0.0;
56 + _guiTimersMS[0] = 0.0;
57 57 }
58 - Scene::processGUI(deltaTime);
58 + Scene::processGUI(deltaTimeUS);
59 59 }
60 60
61 - void TenisScene::processTasks(const U64 deltaTime) {
62 - Scene::processTasks(deltaTime);
61 + void TenisScene::processTasks(const U64 deltaTimeUS) {
62 + Scene::processTasks(deltaTimeUS);
63 63
64 64 checkCollisions();
65 65
  @@ -277,8 +277,8 @@
277 277 }
278 278 }
279 279
280 - void TenisScene::processInput(PlayerIndex idx, const U64 deltaTime) {
281 - Scene::processInput(idx, deltaTime);
280 + void TenisScene::processInput(PlayerIndex idx, const U64 deltaTimeUS) {
281 + Scene::processInput(idx, deltaTimeUS);
282 282 }
283 283
284 284 bool TenisScene::load(const stringImpl& name) {
  @@ -384,7 +384,7 @@
384 384 _ballSGN.lock()->setSelectable(true);
385 385
386 386
387 - _guiTimers.push_back(0.0); // Fps
387 + _guiTimersMS.push_back(0.0); // Fps
388 388 return true;
389 389 }
390 390