Go to the documentation of this file.
26 static const desc_fields s_v(parent::node_desc_fields(),3,
41 visit<gstos_add>(a_visitor,a_style);
48 bool draw_edges =
false;
71 a_action.
zs().clear();
72 a_action.
ws().clear();
124 front[0] = wh;front[ 1] = -hh;front[ 2] = dh;
125 front[3] = wh;front[ 4] = hh;front[ 5] = dh;
126 front[6] = -wh;front[ 7] = hh;front[ 8] = dh;
127 front[9] = -wh;front[10] = -hh;front[11] = dh;
129 back[0] = wh;back[ 1] = -hh;back[ 2] = -dh;
130 back[3] = -wh;back[ 4] = -hh;back[ 5] = -dh;
131 back[6] = -wh;back[ 7] = hh;back[ 8] = -dh;
132 back[9] = wh;back[10] = hh;back[11] = -dh;
155 void _tris(
float tris[],
float nms[]){
183 tris[13] = front[10];
184 tris[14] = front[11];
233 tris[49] =
right[10];
234 tris[50] =
right[11];
493 lines[10] = front[7];
494 lines[11] = front[8];
496 lines[12] = front[6];
497 lines[13] = front[7];
498 lines[14] = front[8];
499 lines[15] = front[9];
500 lines[16] = front[10];
501 lines[17] = front[11];
503 lines[18] = front[9];
504 lines[19] = front[10];
505 lines[20] = front[11];
506 lines[21] = front[0];
507 lines[22] = front[1];
508 lines[23] = front[2];
528 lines[40] = back[10];
529 lines[41] = back[11];
532 lines[43] = back[10];
533 lines[44] = back[11];
672 a_visitor.add_points(24,
points);
677 a_visitor.add_lines(144,
lines);
680 float tris[108];
float nms[108];
682 a_visitor.add_triangles_normal(108,tris,nms);
#define TOOLS_NODE(a__class, a__sclass, a__parent)
#define TOOLS_FIELD_DESC_NODE_CLASS(a__class)
#define TOOLS_ARG_FIELD_DESC(a__field)