Make V2Renderer branch compile.
This commit is contained in:
@@ -92,7 +92,7 @@ F32 LLCamera::getMaxView() const
|
|||||||
|
|
||||||
// ---------------- LLCamera::setFoo() member functions ----------------
|
// ---------------- LLCamera::setFoo() member functions ----------------
|
||||||
|
|
||||||
void LLCamera::setUserClipPlane(LLPlane& plane)
|
void LLCamera::setUserClipPlane(LLPlane const& plane)
|
||||||
{
|
{
|
||||||
mPlaneCount = 7;
|
mPlaneCount = 7;
|
||||||
mAgentPlanes[6] = plane;
|
mAgentPlanes[6] = plane;
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ public:
|
|||||||
virtual ~LLCamera();
|
virtual ~LLCamera();
|
||||||
|
|
||||||
|
|
||||||
void setUserClipPlane(LLPlane& plane);
|
void setUserClipPlane(LLPlane const& plane);
|
||||||
void disableUserClipPlane();
|
void disableUserClipPlane();
|
||||||
virtual void setView(F32 vertical_fov_rads);
|
virtual void setView(F32 vertical_fov_rads);
|
||||||
void setViewHeightInPixels(S32 height);
|
void setViewHeightInPixels(S32 height);
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public:
|
|||||||
inline void getVector3(LLVector3& vec) const { vec.set(mV[0], mV[1], mV[2]); }
|
inline void getVector3(LLVector3& vec) const { vec.set(mV[0], mV[1], mV[2]); }
|
||||||
|
|
||||||
// Retrieve the mask indicating which of the x, y, or z axis are greater or equal to zero.
|
// Retrieve the mask indicating which of the x, y, or z axis are greater or equal to zero.
|
||||||
inline U8 calcPlaneMask()
|
inline U8 calcPlaneMask() const
|
||||||
{
|
{
|
||||||
U8 mask = 0;
|
U8 mask = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -8612,7 +8612,6 @@ void LLPipeline::generateSunShadow(LLCamera& camera)
|
|||||||
|
|
||||||
|
|
||||||
//hack to disable projector shadows
|
//hack to disable projector shadows
|
||||||
static bool clear = true;
|
|
||||||
static const LLCachedControl<S32> gen_shadow("RenderShadowDetail",0);
|
static const LLCachedControl<S32> gen_shadow("RenderShadowDetail",0);
|
||||||
|
|
||||||
if (gen_shadow > 1)
|
if (gen_shadow > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user