6 #include "TextMeshes.h"
7 #include "AllVertexTypes.h"
8 #include "VectorMath.h"
23 void Reset(
int reserveQuadCount);
25 const std::vector<Rendering::VertexTypes::TextVertex>& Vertices()
const {
return m_vertices; };
26 const std::vector<u16> Indices()
const {
return m_indices; };
28 inline void AddVertex(
const Eegeo::v3& position,
float u,
float v,
float shadowParam,
float altitude);
30 inline void AddVertices(std::vector<Rendering::VertexTypes::TextVertex>& vertices)
32 m_vertices.insert(m_vertices.end(), vertices.begin(), vertices.end());
35 std::vector<Rendering::VertexTypes::TextVertex> m_vertices;
36 std::vector<u16> m_indices;
38 int m_reserveQuadCount;
40 void GrowIndexList(
int quadCount);
43 inline void ScratchGeometry::AddVertex(
const Eegeo::v3& position,
float u,
float v,
float shadowParam,
float altitude)
46 Rendering::VertexTypes::CreateTextVertex(