summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2022-06-07 14:42:18 -0600
committerDave Houlton <euclid@lindenlab.com>2022-06-08 13:33:59 -0600
commitd3219f57c12ec29025e5c9c68b2cf90d49258672 (patch)
tree0dd38cb047775a639a9f6df264caf67287f004c7
parent2dc376aa5324448de7d15717d5e24b812d885eea (diff)
SL-17214 remove some dae clutter from gltf header
-rw-r--r--indra/llprimitive/llgltfloader.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/llprimitive/llgltfloader.h b/indra/llprimitive/llgltfloader.h
index 24496f6324..9ee816e24e 100644
--- a/indra/llprimitive/llgltfloader.h
+++ b/indra/llprimitive/llgltfloader.h
@@ -75,7 +75,7 @@ typedef struct // render material
double occlusionScale; // strength multiplier for occlusion
LLColor4 emissiveColor; // emissive mulitiplier, assumed linear encoding (spec 2.0 is silent)
std::string alphaMode; // "OPAQUE", "MASK" or "BLEND"
- double alphaMask;
+ double alphaMask; // alpha cut-off
// textures
U32 baseColorTexIdx; // always sRGB encoded
@@ -113,11 +113,6 @@ class LLGLTFLoader : public LLModelLoader
{
public:
typedef std::map<std::string, LLImportMaterial> material_map;
- typedef void gltfElement; // TBD
- typedef void GLTF; // TBD
-
- // typedef std::map<gltfElement*, std::vector<LLPointer<LLModel> > > gltf_model_map;
- // gltf_model_map mModelsMap;
LLGLTFLoader(std::string filename,
S32 lod,
@@ -160,7 +155,8 @@ private:
U32 mGeneratedModelLimit; // Attempt to limit amount of generated submodels
// bool mPreprocessGLTF;
- /* Inherited from dae loader - unknown how useful here
+ /* Below inherited from dae loader - unknown if/how useful here
+
void processElement(gltfElement *element, bool &badElement, GLTF *gltf);
void processGltfModel(LLModel *model, GLTF *gltf, gltfElement *pRoot, gltfMesh *mesh, gltfSkin *skin);