mat4.opBinary - multiple declarations

Function mat4.opBinary

add scalar to all items of matrix

mat4 opBinary(string op : "+")(
  float v
) const;

Function mat4.opBinary

multiply this matrix by scalar

mat4 opBinary(string op : "-")(
  float v
) const;

mat4 opBinary(string op : "*")(
  float v
) const;

mat4 opBinary(string op : "/")(
  float v
) const;

Function mat4.opBinary

multiply this matrix by another matrix

mat4 opBinary(string op : "*")(
  const ref mat4 m2
) const;

Function mat4.opBinary

multiply matrix by vec3

vec3 opBinary(string op : "*")(
  const vec3 vector
) const;

Function mat4.opBinary

multiply matrix by vec4

vec4 opBinary(string op : "*")(
  const vec4 vector
) const;