diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-07-28 21:25:18 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-07-28 21:25:18 +0300 |
commit | 1531a31cd9907e5294df5cedbda2b9d1e3adb68b (patch) | |
tree | 6d09eca8bf2bc646e56e1356c97aa0498cc62363 /indra/llmeshoptimizer | |
parent | d64b1bded9a0ff05d90f00d72b031a8c04715af7 (diff) |
DRTVWR-542 Rename simplification methods in UI and add a fallback
Diffstat (limited to 'indra/llmeshoptimizer')
-rw-r--r-- | indra/llmeshoptimizer/llmeshoptimizer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmeshoptimizer/llmeshoptimizer.h b/indra/llmeshoptimizer/llmeshoptimizer.h index 2696733eb2..e881ec26c5 100644 --- a/indra/llmeshoptimizer/llmeshoptimizer.h +++ b/indra/llmeshoptimizer/llmeshoptimizer.h @@ -46,6 +46,7 @@ public: // returns amount of indices in destiantion // result_error returns how far from original the model is in % if not NULL + // Works with U32 indices (LLFace uses U16 indices) static U64 simplifyU32( U32 *destination, const U32 *indices, @@ -57,8 +58,9 @@ public: F32 target_error, F32* result_error); - // returns amount of indices in destiantion - // result_error returns how far from original the model is in % if not NULL + // Returns amount of indices in destiantion + // Result_error returns how far from original the model is in % if not NULL + // Meant for U16 indices (LLFace uses U16 indices) static U64 simplify( U16 *destination, const U16 *indices, |