Fix warning
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
This commit is contained in:
parent
1b4e30be11
commit
ca5afe14c3
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,6 @@ TRunnerScreen::TRunnerScreen(std::weak_ptr<ScreenStack> stack)
|
||||||
: Screen(stack),
|
: Screen(stack),
|
||||||
surface(),
|
surface(),
|
||||||
surface_bbs(),
|
surface_bbs(),
|
||||||
surface_triangles(),
|
|
||||||
// NOLINTBEGIN(bugprone-integer-division)
|
// NOLINTBEGIN(bugprone-integer-division)
|
||||||
walkers{Walker{(float)(SURFACE_UNIT_WIDTH / 4) - SURFACE_X_OFFSET,
|
walkers{Walker{(float)(SURFACE_UNIT_WIDTH / 4) - SURFACE_X_OFFSET,
|
||||||
(float)(SURFACE_UNIT_HEIGHT / 4) - SURFACE_Y_OFFSET, true},
|
(float)(SURFACE_UNIT_HEIGHT / 4) - SURFACE_Y_OFFSET, true},
|
||||||
|
@ -48,6 +47,7 @@ TRunnerScreen::TRunnerScreen(std::weak_ptr<ScreenStack> stack)
|
||||||
camera_pos{0.0F, 4.0F, 4.0F},
|
camera_pos{0.0F, 4.0F, 4.0F},
|
||||||
camera_target{0.0F, 0.0F, 0.0F},
|
camera_target{0.0F, 0.0F, 0.0F},
|
||||||
mouse_hit{0.0F, 0.0F, 0.0F},
|
mouse_hit{0.0F, 0.0F, 0.0F},
|
||||||
|
surface_triangles(),
|
||||||
idx_hit(SURFACE_UNIT_WIDTH / 2 +
|
idx_hit(SURFACE_UNIT_WIDTH / 2 +
|
||||||
(SURFACE_UNIT_HEIGHT / 2) * SURFACE_UNIT_WIDTH),
|
(SURFACE_UNIT_HEIGHT / 2) * SURFACE_UNIT_WIDTH),
|
||||||
controlled_walker_idx(std::nullopt),
|
controlled_walker_idx(std::nullopt),
|
||||||
|
|
Loading…
Reference in a new issue