#include <BlockRenderer.h>
Public Member Functions | |
| BlockRenderer (const ConfigRepository *cfg) | |
| virtual | ~BlockRenderer (void) |
| bool | draw_block (const world::blocks::BlockDesc *block_desc, D3DCOLOR color) |
| bool | draw_region (const ml7::Matrix2x3 &transform, const bl7::geometry2::Poly &poly, D3DCOLOR color) |
| bool | draw_fringe (const ml7::Matrix2x3 &transform, const bl7::geometry2::Poly &poly, D3DCOLOR color) |
The class for rendering blocks.
| cyber::renderer::BlockRenderer::BlockRenderer | ( | const ConfigRepository * | cfg | ) |
Explicit constructor.
| cyber::renderer::BlockRenderer::~BlockRenderer | ( | void | ) | [virtual] |
Destructor.
| bool cyber::renderer::BlockRenderer::draw_block | ( | const world::blocks::BlockDesc * | block_desc, | |
| D3DCOLOR | color | |||
| ) |
Draws a single block object.
| bool cyber::renderer::BlockRenderer::draw_fringe | ( | const ml7::Matrix2x3 & | transform, | |
| const bl7::geometry2::Poly & | poly, | |||
| D3DCOLOR | color | |||
| ) |
Draws the fringe of a single block object.
| bool cyber::renderer::BlockRenderer::draw_region | ( | const ml7::Matrix2x3 & | transform, | |
| const bl7::geometry2::Poly & | poly, | |||
| D3DCOLOR | color | |||
| ) |
Draws the region of a single block object.
1.7.1