#include <PrimitiveRenderer.h>
Classes | |
| struct | FringeVertex |
| struct | RegionVertex |
| struct | SimpleVertex |
Public Member Functions | |
| PrimitiveRenderer (const ConfigRepository *cfg) | |
| ~PrimitiveRenderer (void) | |
| bool | draw_line (const ml7::Vector2 &p, const ml7::Vector2 &q, 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) |
| cyber::renderer::PrimitiveRenderer::PrimitiveRenderer | ( | const ConfigRepository * | cfg | ) |
Explicit constructor.
| cyber::renderer::PrimitiveRenderer::~PrimitiveRenderer | ( | void | ) |
Destructor.
| bool cyber::renderer::PrimitiveRenderer::draw_fringe | ( | const ml7::Matrix2x3 & | transform, | |
| const bl7::geometry2::Poly & | poly, | |||
| D3DCOLOR | color | |||
| ) |
Draws the fringe of a poly.
| bool cyber::renderer::PrimitiveRenderer::draw_line | ( | const ml7::Vector2 & | p, | |
| const ml7::Vector2 & | q, | |||
| D3DCOLOR | color | |||
| ) |
Draws a single line between two points.
| bool cyber::renderer::PrimitiveRenderer::draw_region | ( | const ml7::Matrix2x3 & | transform, | |
| const bl7::geometry2::Poly & | poly, | |||
| D3DCOLOR | color | |||
| ) |
Draws the region of a poly.
1.7.1