/home/linus/coding/MagicBetaClient/build/transpiled/gfx/gfx.c:2001:13: error: ‘so_R_f32_f32’ undeclared (first use in this function); did you mean ‘so_R_u32_u32’?
2001 | return (so_R_f32_f32){.val = (float)(sind), .val2 = (float)(cosd)};
| ^~~~~~~~~~~~
| so_R_u32_u32
reproduce
import (
"solod.dev/so/math"
)
func sincos(angle float32) (float32, float32) {
sind := math.Sin(float64(angle))
cosd := math.Cos(float64(angle))
return float32(sind), float32(cosd)
}
reproduce