copied from the old Ppoject:
shaders, object class Modified to use better names and use Qt things
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef VERTEX_H
|
||||
#define VERTEX_H
|
||||
#pragma once
|
||||
|
||||
#include <QVector3D>
|
||||
|
||||
@@ -51,5 +50,3 @@ void inline Vertex::setColor(const QVector3D& color) { m_color = color; }
|
||||
Q_DECL_CONSTEXPR inline int Vertex::positionOffset() { return offsetof(Vertex, m_position); }
|
||||
Q_DECL_CONSTEXPR inline int Vertex::colorOffset() { return offsetof(Vertex, m_color); }
|
||||
Q_DECL_CONSTEXPR inline int Vertex::stride() { return sizeof(Vertex); }
|
||||
|
||||
#endif // VERTEX_H
|
||||
Reference in New Issue
Block a user