vec4.sub - multiple declarations

Function vec4.sub

subtract components of another vector from corresponding components of this vector

Prototype

ref vec4 sub(
  vec4 v
);

Function vec4.sub

subtract value from all components of vector

Prototype

ref vec4 sub(
  float v
);

Authors

Copyright

License