28 #ifndef opengl_CSimpleLine_H
29 #define opengl_CSimpleLine_H
58 void setLineCoords(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
60 m_x0=x0; m_y0=y0; m_z0=z0;
61 m_x1=x1; m_y1=y1; m_z1=z1;
65 void getLineCoords(
float &x0,
float &y0,
float &z0,
float &x1,
float &y1,
float &z1)
const
67 x0=m_x0; y0=m_y0; z0=m_z0;
68 x1=m_x1; y1=m_y1; z1=m_z1;
73 void render_dl()
const;
77 float x0,
float y0,
float z0,
78 float x1,
float y1,
float z1,
float lineWidth = 1 )
87 float x0=0,
float y0=0,
float z0=0,
88 float x1=0,
float y1=0,
float z1=0,
float lineWidth = 1 ) :
89 m_x0(x0),m_y0(y0),m_z0(z0),
90 m_x1(x1),m_y1(y1),m_z1(z1),
91 m_lineWidth(lineWidth)