odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.53k stars 569 forks source link

raylib.odin needs to have Model :: struct #align 4 { #2089

Closed ross-a closed 5 months ago

ross-a commented 1 year ago

Context

raylib.odin needs to have Model :: struct #align 4 {

Expected Behavior

UpdateModelAnimation() should work

Current Behavior

raylib functions like UpdateModelAnimation(Model, ModelAnimation, frame) will misbehave without Model being aligned

Failure Information (for bugs)

Steps to Reproduce

Failure Logs

laytan commented 5 months ago

This was fixed recently, not with the suggested solution but with correcting the use of row major matrices in raylib, so this can be closed