We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f660b6 commit 6a1b8a5Copy full SHA for 6a1b8a5
Core/Contents/Include/PolyVector2.h
@@ -76,6 +76,10 @@ namespace Polycode {
76
inline Vector2 operator * (const Number val) const {
77
return Vector2(x * val, y * val);
78
}
79
+
80
+ inline Vector2 operator * (const Vector2 &v2) const {
81
+ return Vector2(x * v2.x, y * v2.y);
82
+ }
83
84
inline Vector2 operator / (const Number val) const {
85
assert( val != 0.0 );
0 commit comments