GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
world_grid_renderer.h
[詳解]
1
3
4// Copyright(c) 2023-2025 Design Engineering Laboratory, Saitama University
5// Released under the MIT license
6// https://opensource.org/licenses/mit-license.php
7
8#ifndef DESIGNLAB_WORLD_GRID_RENDERER_H_
9#define DESIGNLAB_WORLD_GRID_RENDERER_H_
10
12
13
14namespace designlab
15{
16
20{
21public:
23
24 void Draw() const override;
25
26private:
27 const unsigned int kMainGridXColor;
28
29 const unsigned int kMainGridYColor;
30
31 const unsigned int kSubGridXColor;
32
33 const unsigned int kSubGridYColor;
34
35 const int kMainGridNum;
36
37 const float kMainGridInterval;
38
39 const int kSubGridDividedNum;
40
41 const float kGridLineZPos;
42};
43
44} // namespace designlab
45
46
47#endif // DESIGNLAB_WORLD_GRID_RENDERER_H_
DxLibの描画処理を行うクラスのインターフェース.
ワールドの格子線を描画するクラス.
void Draw() const override
描画処理を行う. const 関数にしているのは, 描画処理の中でメンバ変数を変更しないようにするため.