mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-13 07:09:02 +08:00
Initialize member variables
This commit is contained in:
parent
39418e5728
commit
1739d025a9
@ -664,6 +664,8 @@ struct Image {
|
||||
width = -1;
|
||||
height = -1;
|
||||
component = -1;
|
||||
bits = -1;
|
||||
pixel_type = -1;
|
||||
}
|
||||
DEFAULT_METHODS(Image)
|
||||
|
||||
@ -996,6 +998,7 @@ struct Primitive {
|
||||
Primitive() {
|
||||
material = -1;
|
||||
indices = -1;
|
||||
mode = -1;
|
||||
}
|
||||
DEFAULT_METHODS(Primitive)
|
||||
bool operator==(const Primitive &) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user