2022-09-23 15:54:49 +00:00
|
|
|
#ifndef DUST3D_APPLICATION_MONOCHROME_OPENGL_VERTEX_H_
|
|
|
|
#define DUST3D_APPLICATION_MONOCHROME_OPENGL_VERTEX_H_
|
|
|
|
|
|
|
|
#include <QOpenGLFunctions>
|
|
|
|
|
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
GLfloat posX;
|
|
|
|
GLfloat posY;
|
|
|
|
GLfloat posZ;
|
2022-10-23 03:14:30 +00:00
|
|
|
GLfloat colorR = 0.0;
|
|
|
|
GLfloat colorG = 0.0;
|
|
|
|
GLfloat colorB = 0.0;
|
2022-09-23 15:54:49 +00:00
|
|
|
GLfloat alpha = 1.0;
|
|
|
|
} MonochromeOpenGLVertex;
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
#endif
|