vec2.opBinary - multiple declarations

Function vec2.opBinary

subtract value from all components of vector

Prototypes

vec3 opBinary(string op)(
  const vec2 v
) const;

float opBinary(string op)(
  const vec3 v
) const;

Function vec2.opBinary

add value to all components of vector

Prototype

vec2 opBinary(string op)(
  const vec2 v
) const;

Function vec2.opBinary

divide all components of vector by value

Prototype

vec3 opBinary(string op)(
  float v
) const;

Function vec2.opBinary

subtract value from all components of vector

Prototype

vec2 opBinary(string op)(
  float v
) const;

Function vec2.opBinary

multiply all components of vector by value

Prototype

vec2 opBinary(string op)(
  float v
) const;

Function vec2.opBinary

add value to all components of vector

Prototype

vec2 opBinary(string op)(
  float v
) const;

Authors

Copyright

License