Core: Convert Pair/KeyValue to constexpr

This commit is contained in:
Thaddeus Crews 2024-08-31 10:22:57 -05:00
parent 5e27318b6c
commit 5538850d87
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
8 changed files with 51 additions and 65 deletions

View file

@ -49,7 +49,7 @@ class FBXState : public GLTFState {
bool allow_geometry_helper_nodes = false;
HashMap<uint64_t, Image::AlphaMode> alpha_mode_cache;
HashMap<Pair<uint64_t, uint64_t>, GLTFTextureIndex, PairHash<uint64_t, uint64_t>> albedo_transparency_textures;
HashMap<Pair<uint64_t, uint64_t>, GLTFTextureIndex> albedo_transparency_textures;
Vector<GLTFSkinIndex> skin_indices;
Vector<GLTFSkinIndex> original_skin_indices;