Skip to content

Commit

Permalink
Some fixes and optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Feb 2, 2024
1 parent 0da8992 commit fc5b3c2
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 90 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if (SIMDJSON_TARGET_VERSION)
endif()

if (SIMDJSON_VERBOSE_LOGGING)
target_compile_definitions(fastgltf_simdjson PUBLIC SIMDJSON_VERBOSE_LOGGING=1)
target_compile_definitions(fastgltf PUBLIC SIMDJSON_VERBOSE_LOGGING=1)
endif()

target_compile_definitions(fastgltf PUBLIC "FASTGLTF_USE_CUSTOM_SMALLVECTOR=$<BOOL:${FASTGLTF_USE_CUSTOM_SMALLVECTOR}>")
Expand Down
4 changes: 4 additions & 0 deletions include/fastgltf/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,10 @@ namespace fastgltf {
Optional<SparseAccessor> sparse;

FASTGLTF_STD_PMR_NS::string name;

explicit Accessor() = default;
Accessor(const Accessor& accessor) = default;
Accessor(Accessor&& accessor) noexcept = default;
};

struct CompressedBufferView {
Expand Down
Loading

0 comments on commit fc5b3c2

Please sign in to comment.