MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / operator *

Method operator *

jni/venus/vec4.h:75–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 friend vec4<T> operator -(const vec4<T>& lhs, const vec4<T>& rhs) { vec4<T> result(lhs); result -= rhs; return result; }
74// friend vec4<T> operator *(const vec4<T>& lhs, const vec4<T>& rhs) { return vec4<T>(lhs.x*rhs.x, lhs.y*rhs.y, lhs.z*rhs.z, lhs.w*rhs.w); }
75 friend vec4<T> operator *(const vec4<T>& lhs, T value) { return vec4<T>(lhs.x*value, lhs.y*value, lhs.z*value, lhs.w*value); }
76 friend vec4<T> operator *(T value, const vec4<T>& rhs) { return vec4<T>(rhs.x*value, rhs.y*value, rhs.z*value, rhs.w*value); }
77 friend vec4<T> operator /(const vec4<T>& lhs, T value) { return vec4<T>(lhs.x/value, lhs.y/value, lhs.z/value, lhs.w/value); }
78

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected