Searched refs:Vec3 (Results 1 – 1 of 1) sorted by relevance
25 class Vec3{27 Vec3(T inputRed, T inputGreen, T inputBlue) { in Vec3() function33 Vec3() {} in Vec3() function36 inline Vec3<T> operator+ (const Vec3<U> ¶m) const {37 Vec3<T> temp(mRed + param.r(), mGreen + param.g(), mBlue + param.b());41 inline Vec3<T> operator- (const Vec3<T> ¶m) const {42 Vec3<T> temp(mRed - param.r(), mGreen - param.g(), mBlue - param.b());46 inline Vec3<T> operator* (const int param) const {47 Vec3<T> temp(mRed * param, mGreen * param, mBlue * param);52 inline Vec3<float> operator* (const Vec3<U> ¶m) const {[all …]