mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 04:26:06 +08:00
Applied clang-format
This commit is contained in:
parent
8a98d98cd9
commit
2a9d9deb67
@ -405,7 +405,7 @@ struct Parameter {
|
|||||||
// As per the spec, if scale is ommited, this paramter is 1
|
// As per the spec, if scale is ommited, this paramter is 1
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return the strength of a texture if this Parameter is a an occlusion map.
|
/// Return the strength of a texture if this Parameter is a an occlusion map.
|
||||||
/// Returned value is only valid if the parameter represent an occlusion map
|
/// Returned value is only valid if the parameter represent an occlusion map
|
||||||
/// from a material
|
/// from a material
|
||||||
@ -462,7 +462,8 @@ struct AnimationChannel {
|
|||||||
struct AnimationSampler {
|
struct AnimationSampler {
|
||||||
int input; // required
|
int input; // required
|
||||||
int output; // required
|
int output; // required
|
||||||
std::string interpolation; // "LINEAR", "STEP","CUBICSPLINE" or user defined string. default "LINEAR"
|
std::string interpolation; // "LINEAR", "STEP","CUBICSPLINE" or user defined
|
||||||
|
// string. default "LINEAR"
|
||||||
Value extras;
|
Value extras;
|
||||||
|
|
||||||
AnimationSampler() : input(-1), output(-1), interpolation("LINEAR") {}
|
AnimationSampler() : input(-1), output(-1), interpolation("LINEAR") {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user