summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/hud.h b/src/hud.h
index 7f0fbe7b3..a4d7990e9 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -139,8 +139,11 @@ public:
v3f getSelectionPos() const
{ return m_selection_pos; }
- void setSelectionMeshColor(const video::SColor &c)
- { m_selection_mesh_color = c; }
+ void setSelectionMeshColor(const video::SColor &color)
+ { m_selection_mesh_color = color; }
+
+ void setSelectedFaceNormal(const v3f &face_normal)
+ { m_selected_face_normal = face_normal; }
void drawLuaElements(const v3s16 &camera_offset);
@@ -169,6 +172,8 @@ private:
scene::IMesh* m_selection_mesh;
video::SColor m_selection_mesh_color;
+ v3f m_selected_face_normal;
+
video::SMaterial m_selection_material;
bool m_use_selection_mesh;
};