Skip to content

vec2 optimizations

terencehill requested to merge terencehill/vec2_optimizations into master
  • Optimize client and server vector operations mostly by replacing lots of eX * a + eY * b with vec2(a, b).
    While performance boost is very marginal, it improves code readability a little bit (I've also split some very long instructions with the introduction of intermediate variables)

  • Document vec2, AUTOCVAR and AUTOCVAR_SAVE usage, which isn't very intuitive for everybody by reading the implementation

Merge request reports