and constify some static utility functions Note: 2D shader will ignore position's z value, but making pos a vec3 lets us unify code in this function.
and constify some static utility functions Note: 2D shader will ignore position's z value, but making pos a vec3 lets us unify code in this function.