aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorBarinzaya <barinzaya@gmail.com>2024-10-31 13:37:43 -0400
committerBarinzaya <barinzaya@gmail.com>2024-10-31 13:37:43 -0400
commit30cf3ed02f791f72437aeac424f8b493a42afda7 (patch)
treeba440695c5bc80f8a10a2439e590bbf424a660c2 /src/llvm_backend_expr.cpp
parentd4d546a63a3d12ef8e308989562100b95219ac9b (diff)
Fixed raymath not applying matrix translations.
Translation matrices use the w components of the matrix to apply the transform, and thus only work when the w component is 1. In the original raymath implementation, the multiplication is done manually and adds the translation components directly to the result, as if w is 1, but in the Odin binding this is done with a matrix multiplication. However, the w component is set to 0 instead of 1, resulting in the translation not being applied.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions