git-svn-id: svn://db.shs.com.ru/libs@286 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -26,7 +26,7 @@ class GLPrimitivePoint: public GLObjectBase
|
||||
{
|
||||
public:
|
||||
GLPrimitivePoint(double size = 1., QVector3D pos = QVector3D()) {sz = 8.;}
|
||||
virtual void draw(QGLShaderProgram * prog, bool simplest = false);
|
||||
virtual void draw(__GLShaderProgram__ * prog, bool simplest = false);
|
||||
private:
|
||||
double sz;
|
||||
};
|
||||
@@ -38,7 +38,7 @@ class GLPrimitiveLine: public GLObjectBase
|
||||
{
|
||||
public:
|
||||
GLPrimitiveLine(QVector3D p0_ = QVector3D(), QVector3D p1_ = QVector3D()) {p0 = p0_; p1 = p1_;}
|
||||
virtual void draw(QGLShaderProgram * prog, bool simplest = false);
|
||||
virtual void draw(__GLShaderProgram__ * prog, bool simplest = false);
|
||||
QVector3D point0() const {return p0;}
|
||||
QVector3D point1() const {return p1;}
|
||||
void setPoint0(const QVector3D & p) {p0 = p;}
|
||||
|
||||
Reference in New Issue
Block a user