On Wed May 22 12:36:18 2024 +0000, Matteo Bruni wrote:
Right. I think it would be nice to have this (or the same on an equivalent, private, struct) in the generic helpers. FWIW, the name `set_d3dbox()` looks fine here, because the function works on a simple, small structure that you wouldn't necessarily expect to be initialized only once.
Is this fine where it is, or by mentioning the generic helpers do you mean it should exist somewhere else in the code? I mainly put it here since it's only used in this source file, but I can move it if that'd make sense.