5 #include "CulledMeshRenderable.h"
9 #include "VectorMath.h"
22 LayerIds::Values layerId,
35 const Eegeo::v2& GetUVBoundsMin()
const {
return m_uvBoundsMin; }
36 const Eegeo::v2& GetUVBoundsMax()
const {
return m_uvBoundsMax; }
37 const Eegeo::v4& GetPositionBoundsMin()
const {
return m_positionBoundsMin; }
38 const Eegeo::v4& GetPositionBoundsMax()
const {
return m_positionBoundsMax; }
40 const Eegeo::v3& GetCameraRelativeModelOrigin()
const {
return m_cameraRelativeModelOrigin; }
43 virtual void UpdateCachedFlatteningTransform(
float environmentFlatteningScale);
45 m44 m_modelToWorldCached;
53 float m_cachedEnvironmentFlattenScale;
56 m44 CalcUnpackMVP(
const dv3& ecefCameraPosition,
const Eegeo::m44& viewProjection)
const;