Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
This commit is contained in:
@@ -11,25 +11,23 @@ struct GLInstanceVertex
|
||||
};
|
||||
struct GLInstanceGraphicsShape
|
||||
{
|
||||
b3AlignedObjectArray<GLInstanceVertex>* m_vertices;
|
||||
int m_numvertices;
|
||||
b3AlignedObjectArray<int>* m_indices;
|
||||
int m_numIndices;
|
||||
float m_scaling[4];
|
||||
|
||||
GLInstanceGraphicsShape()
|
||||
:m_vertices(0),
|
||||
m_indices(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
virtual ~GLInstanceGraphicsShape()
|
||||
{
|
||||
delete m_vertices;
|
||||
delete m_indices;
|
||||
}
|
||||
b3AlignedObjectArray<GLInstanceVertex>* m_vertices;
|
||||
int m_numvertices;
|
||||
b3AlignedObjectArray<int>* m_indices;
|
||||
int m_numIndices;
|
||||
float m_scaling[4];
|
||||
|
||||
GLInstanceGraphicsShape()
|
||||
: m_vertices(0),
|
||||
m_indices(0)
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~GLInstanceGraphicsShape()
|
||||
{
|
||||
delete m_vertices;
|
||||
delete m_indices;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //GL_INSTANCE_GRAPHICS_SHAPE_H
|
||||
|
||||
#endif //GL_INSTANCE_GRAPHICS_SHAPE_H
|
||||
|
||||
Reference in New Issue
Block a user