diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-07-11 15:54:24 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-08-06 16:28:47 -0700 |
commit | 6aa9110b2ae346da1a396500cae1b41e8e2d5b75 (patch) | |
tree | 93c83eb1a2c515feef3e00c349f33e16e06d56d2 /indra/newview/llsurfacepatch.h | |
parent | ae2ff22542a5882616778ffab50612f8ad41b71e (diff) |
secondlife/viewer#1883: Local-only PBR terrain paintmap with developer tools
Diffstat (limited to 'indra/newview/llsurfacepatch.h')
-rw-r--r-- | indra/newview/llsurfacepatch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llsurfacepatch.h b/indra/newview/llsurfacepatch.h index 195250d2c0..f4831487c1 100644 --- a/indra/newview/llsurfacepatch.h +++ b/indra/newview/llsurfacepatch.h @@ -116,7 +116,7 @@ public: void calcNormalFlat(LLVector3& normal_out, const U32 x, const U32 y, const U32 index /* 0 or 1 */); void eval(const U32 x, const U32 y, const U32 stride, - LLVector3 *vertex, LLVector3 *normal, LLVector2 *tex0, LLVector2 *tex1); + LLVector3 *vertex, LLVector3 *normal, LLVector2 *tex1) const; @@ -146,6 +146,8 @@ public: void dirty(); // Mark this surface patch as dirty... void clearDirty() { mDirty = false; } + bool isHeightsGenerated() const { return mHeightsGenerated; } + void clearVObj(); public: |