7 #include "OrientedBox2.h"
8 #include "AxisAlignedBox2.h"
18 namespace LabelViewVisibility
22 CulledExceededConstraintRadius,
25 CulledBehindGlobeHorizon,
31 namespace LabelFadeState
44 namespace LabelComponent
54 inline u32 LabelComponentToFlags(
const LabelComponent::Type labelComponent)
56 return 1 << labelComponent;
61 m44 InverseViewMatrix;
62 bool EnvironmentFlatteningChanged;
63 float EnvironmentFlatteningScale;
64 v3 ViewProjectionColumnX;
65 v3 ViewProjectionColumnY;
66 v3 ViewProjectionColumnZ;
70 bool PerformHorizonCullOfLabels;
72 v2 ViewportDimensions;
75 float AnchorConstraintRadiusScaleSquared;
76 float AnchorConstraintHysteresisSquared;
89 v3 AnchorBasisEcefTranslate;
94 bool ExceedsConstraintRadius;
96 bool IsOutsideScreenMargin;
108 inline float DetX()
const
110 return row0x*row3w - row3x*row0w;
113 inline float DetY()
const
115 return row3y*row0w - row0y*row3w;