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

Method operator *

jni/venus/vec2.h:80–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 friend vec2<T> operator +(const vec2<T>& lhs, const vec2<T>& rhs) { vec2<T> result(lhs); result += rhs; return result; }
79 friend vec2<T> operator -(const vec2<T>& lhs, const vec2<T>& rhs) { vec2<T> result(lhs); result -= rhs; return result; }
80 friend vec2<T> operator *(const vec2<T>& lhs, T value) { return vec2<T>(lhs.x*value, lhs.y*value); }
81 friend vec2<T> operator *(T value, const vec2<T>& rhs) { return vec2<T>(rhs.x*value, rhs.y*value); }
82 friend vec2<T> operator /(const vec2<T>& lhs, T value) { return vec2<T>(lhs.x/value, lhs.y/value); }
83 /** @} */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected