Exemplo n.º 1
0
void d3d_draw_cylinder(gs_scalar x1, gs_scalar y1, gs_scalar z1, gs_scalar x2, gs_scalar y2, gs_scalar z2, int texId, gs_scalar hrep, gs_scalar vrep, bool closed, int steps)
{
  texture_set_repeat(true);
  draw_batch_begin_deferred(texId);
  d3d_model_cylinder(draw_get_batch_stream(), x1, y1, z1, x2, y2, z2, hrep, vrep, closed, steps);
  draw_batch_flush(batch_flush_immediate);
}
Exemplo n.º 2
0
void d3d_draw_cylinder(gs_scalar x1, gs_scalar y1, gs_scalar z1, gs_scalar x2, gs_scalar y2, gs_scalar z2, int texId, gs_scalar hrep, gs_scalar vrep, bool closed, int steps)
{
	oglmgr->BeginShapesBatching(texId);
	d3d_model_cylinder(oglmgr->GetShapesModel(), x1, y1, z1, x2, y2, z2, hrep, vrep, closed, steps);
}