Glitter: Small overhaul

This commit is contained in:
korenkonder
2024-07-28 09:57:31 +03:00
parent 6656462175
commit 6eb8dffe45
14 changed files with 812 additions and 369 deletions
+2 -2
View File
@@ -1038,12 +1038,12 @@ namespace Glitter {
if (big_endian) {
eff->data.emission = load_reverse_endianness_float_t((void*)d);
eff->data.seed = load_reverse_endianness_int32_t((void*)(d + 4));
eff->data.unk = load_reverse_endianness_float_t((void*)(d + 8));
eff->data.ext_anim_scale_start_time = load_reverse_endianness_float_t((void*)(d + 8));
}
else {
eff->data.emission = *(float_t*)d;
eff->data.seed = *(int32_t*)(d + 4);
eff->data.unk = *(float_t*)(d + 8);
eff->data.ext_anim_scale_start_time = *(float_t*)(d + 8);
}
d += 12;