21 #include <qvector3d.h>
37 const QVector3D& point3,
const OColor& oColor,
bool bFull )
const
40 glGetFloatv(GL_CURRENT_COLOR, tmpColor);
54 glVertex3d(point0.x(), point0.y(), point0.z());
55 glVertex3d(point1.x(), point1.y(), point1.z());
58 glVertex3d(point1.x(), point1.y(), point1.z());
59 glVertex3d(point2.x(), point2.y(), point2.z());
62 glVertex3d(point2.x(), point2.y(), point2.z());
63 glVertex3d(point3.x(), point3.y(), point3.z());
66 glVertex3d(point3.x(), point3.y(), point3.z());
67 glVertex3d(point0.x(), point0.y(), point0.z());
70 glColor3f(tmpColor[0], tmpColor[1], tmpColor[2]);
All base classes related to 3D manipulation.
void drawRectangle(const QVector3D &point0, const QVector3D &point1, const QVector3D &point2, const QVector3D &point3, const OColor &oColor, bool bFalse=false) const