5 #include "VectorMath.h"
7 #include <unordered_map>
21 void UpdateIndexColors(
const std::vector<int>& indices,
const v4& color);
22 void UpdateIndexColor(
int index,
const v4& color);
24 inline bool IsHighlighted()
const {
return !m_indexColors.empty(); }
25 inline bool IsHighlightedAtIndex(
int index)
const {
return m_indexColors.find(index) != m_indexColors.end(); }
27 v4 GetHighlightColorAtIndex(
int index)
const;
33 std::unordered_map<int, v4> m_indexColors;