1234567891011121314151617181920212223242526272829303132 |
- #ifndef VERTEXPOSITIONCOLOR_H
- #define VERTEXPOSITIONCOLOR_H
- #include <QVector2D>
- #include <QVector3D>
- #include <QVector4D>
- class TVertexPositionColor
- {
- public:
- TVertexPositionColor()
- {
- }
- TVertexPositionColor( const QVector3D & aPosition, const QVector4D & aColor )
- : Position(aPosition), Color(aColor)
- {
- }
- public:
- QVector3D Position;
- QVector4D Color;
- };
- QDataStream &operator<<(QDataStream & out, const TVertexPositionColor & data);
- QDataStream &operator>>(QDataStream & in, TVertexPositionColor & data);
- #endif // VERTEXPOSITIONCOLOR_H
|