This removes a lot of code that was doing the same thing over and over again. I chose the name convert since it's nice and short. There are similar functions named convertEvent, convertTransform, and convertRenderStates that do similar things for other types. I'd like to rename those to convert if the team is onboard with that but it's also fine to leave them as-is.
This removes a lot of code that was doing the same thing over and over again. I chose the name
convert
since it's nice and short. There are similar functions namedconvertEvent
,convertTransform
, andconvertRenderStates
that do similar things for other types. I'd like to rename those toconvert
if the team is onboard with that but it's also fine to leave them as-is.