Format code.

This commit is contained in:
owilliamailliwo 2019-06-17 08:16:44 +08:00
parent df71c8ff0a
commit 3e83b4e9d3
7 changed files with 171 additions and 171 deletions

View File

@ -99,12 +99,12 @@ struct GltfOptions {
int quantBitsNormal = 10;
int quantBitsColor = 8;
int quantBitsGeneric = 8;
// int compressionLevel = -1; // 7
// int quantBitsPosition = -1; // 14
// int quantBitsTexCoord = -1; // 10
// int quantBitsNormal = -1; // 10
// int quantBitsColor = -1; // 8
// int quantBitsGeneric = -1; // 8
// int compressionLevel = -1; // 7
// int quantBitsPosition = -1; // 14
// int quantBitsTexCoord = -1; // 10
// int quantBitsNormal = -1; // 10
// int quantBitsColor = -1; // 8
// int quantBitsGeneric = -1; // 8
bool enabledAnimation = false;
int animationCompressionLevel = -1; // 5

View File

@ -19,7 +19,7 @@ AnimationData::AnimationData(std::string name)
AnimationData::AnimationData(std::string name, std::shared_ptr<draco::KeyframeAnimation> dracoKeyframeAnimation)
: Holdable(),
name(std::move(name)),
dracoKeyframeAnimation(dracoKeyframeAnimation){}
dracoKeyframeAnimation(dracoKeyframeAnimation) {}
void AnimationData::AddTimestamps(const AccessorData& timeAccessor) {
this->timeAccessor = timeAccessor.ix;