summaryrefslogtreecommitdiff
path: root/indra/llmeshoptimizer/llmeshoptimizer.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-12 23:23:08 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-13 00:08:41 +0300
commit833a82f8593c513b12b59c489760f77d5a806668 (patch)
treee72f97afdf7554c6f579b80f8432d35991fbebca /indra/llmeshoptimizer/llmeshoptimizer.h
parent4372913f59a39dcf6b4818eaea64369c7c7242d5 (diff)
DRTVWR-542 WIP #7
Diffstat (limited to 'indra/llmeshoptimizer/llmeshoptimizer.h')
-rw-r--r--indra/llmeshoptimizer/llmeshoptimizer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llmeshoptimizer/llmeshoptimizer.h b/indra/llmeshoptimizer/llmeshoptimizer.h
index c4250c537d..744856361c 100644
--- a/indra/llmeshoptimizer/llmeshoptimizer.h
+++ b/indra/llmeshoptimizer/llmeshoptimizer.h
@@ -36,6 +36,13 @@ public:
LLMeshOptimizer();
~LLMeshOptimizer();
+ static void LLMeshOptimizer::generateShadowIndexBuffer(
+ U16 *destination,
+ const U16 *indices,
+ U64 index_count,
+ const LLVector4a *vertex_positions,
+ U64 vertex_count);
+
// returns amount of indices in destiantion
// result_error returns how far from original the model is in % if not NULL
static U64 simplify(