GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
名前空間 | 関数
dxlib_util.cpp ファイル
#include "dxlib_util.h"
#include <Dxlib.h>
#include "math_vector3.h"
#include "graphic_const.h"

[ソースコード]

名前空間

namespace  designlab
 
namespace  designlab::dxlib_util
 Dxlibの3D表示を行う処理を書き直した関数をまとめた名前空間.
 

関数

void designlab::dxlib_util::InitDxlib3DSetting (bool high_quality)
 3D処理を行う上で必要な初期化処理をまとめたもの.
 
void designlab::dxlib_util::SetZBufferEnable ()
 デフォルトだと描画処理を書いた順に描画されるが, これをZバッファを使用して奥行きを考慮して描画するようにする. 毎フレーム実行する必要がある.
 
void designlab::dxlib_util::DrawCube3D (const VECTOR &center_pos, float side_len, unsigned int color)
 3D空間に立方体を描画する.
 
void designlab::dxlib_util::DrawCube3DWithTopPos (const VECTOR &top_pos, float side_len, unsigned int color)
 3D空間に立方体を描画する.立方体の上面の中心の座標から描画する.
 
void designlab::dxlib_util::DrawHexagon (const std::array< VECTOR, 6 > &vertex, unsigned int color)
 3D空間に六角形を描画する.
 
void designlab::dxlib_util::DrawHexagonalPrism (const std::array< VECTOR, 6 > &vertex, float height, unsigned int color)
 3D空間に六角柱を描画する.