mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 08:39:34 +00:00
Update Assimp from 5.2.3 to 5.2.5
This commit is contained in:
parent
ea7ca63301
commit
16f3710058
379 changed files with 14469 additions and 47175 deletions
|
|
@ -78,11 +78,11 @@ protected:
|
|||
|
||||
// We define the struct size because sizeof(Header) might return a wrong result because of structure padding.
|
||||
static constexpr std::size_t header_size =
|
||||
sizeof(type) +
|
||||
sizeof(size) +
|
||||
sizeof(reserved1) +
|
||||
sizeof(reserved2) +
|
||||
sizeof(offset);
|
||||
sizeof(uint16_t) +
|
||||
sizeof(uint32_t) +
|
||||
sizeof(uint16_t) +
|
||||
sizeof(uint16_t) +
|
||||
sizeof(uint32_t);
|
||||
};
|
||||
|
||||
struct DIB {
|
||||
|
|
@ -100,17 +100,17 @@ protected:
|
|||
|
||||
// We define the struct size because sizeof(DIB) might return a wrong result because of structure padding.
|
||||
static constexpr std::size_t dib_size =
|
||||
sizeof(size) +
|
||||
sizeof(width) +
|
||||
sizeof(height) +
|
||||
sizeof(planes) +
|
||||
sizeof(bits_per_pixel) +
|
||||
sizeof(compression) +
|
||||
sizeof(image_size) +
|
||||
sizeof(x_resolution) +
|
||||
sizeof(y_resolution) +
|
||||
sizeof(nb_colors) +
|
||||
sizeof(nb_important_colors);
|
||||
sizeof(uint32_t) +
|
||||
sizeof(int32_t) +
|
||||
sizeof(int32_t) +
|
||||
sizeof(uint16_t) +
|
||||
sizeof(uint16_t) +
|
||||
sizeof(uint32_t) +
|
||||
sizeof(uint32_t) +
|
||||
sizeof(int32_t) +
|
||||
sizeof(int32_t) +
|
||||
sizeof(uint32_t) +
|
||||
sizeof(uint32_t);
|
||||
};
|
||||
|
||||
static constexpr std::size_t mBytesPerPixel = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue