5 #include "MeshRenderable.h"
7 #include "VectorMathDecl.h"
19 Rendering::LayerIds::Values layerId,
25 : MeshRenderable(layerId, ecefPosition, material, pMesh, vertexBinding)
28 , m_depthTestEnabled(
false)
36 void SetThickness(
float thickness) { m_thickness = thickness; }
37 void SetAltitudeFade(
float fade) { m_altitudeFade = fade; }
38 void SetDepthTestEnabled(
bool depthTestEnabled) { m_depthTestEnabled = depthTestEnabled; }
40 float GetThickness()
const {
return m_thickness; }
41 float GetAltitudeFade()
const {
return m_altitudeFade; }
42 bool IsDepthTestEnabled()
const {
return m_depthTestEnabled; }
43 void SetWireframe(
bool enabled) { m_wireframe = enabled; }
48 bool m_depthTestEnabled;