You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that box_shadow color a float * instead of just a float [4] is problematic.
Wrapping that in FFI is clunky because essentially in zig I need to wrap it as: *f32[4] which might as well just be f32[4].
Not to mention other languages where that kind of pointer arithmetic is usually not suggested. Eg: Python
Why can't we approach it as just float [4]?
The text was updated successfully, but these errors were encountered:
Shinyzenith
changed the title
Improve process to pass blur color.
Improve process to pass box shadowcolor.
Aug 23, 2023
Shinyzenith
changed the title
Improve process to pass box shadowcolor.
Improve process to pass box shadow color.
Aug 23, 2023
The fact that box_shadow color a
float *
instead of just afloat [4]
is problematic.Wrapping that in FFI is clunky because essentially in zig I need to wrap it as:
*f32[4]
which might as well just bef32[4]
.Not to mention other languages where that kind of pointer arithmetic is usually not suggested. Eg: Python
Why can't we approach it as just
float [4]
?The text was updated successfully, but these errors were encountered: