vec2.sub - multiple declarations

Function vec2.sub

subtract components of another vector from corresponding components of this vector

Prototype

ref vec2 sub(
  vec2 v
);

Function vec2.sub

subtract value from all components of vector

Prototype

ref vec2 sub(
  float v
);

Authors

Copyright

License