commit 0028e9a94b34d1ff570fc212f2daaba5de8460fe parent 9a049dbb62c49ee25a4daae735bdf692d8b564d4 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jul 2 21:48:13 +0300 v3.xy() Diffstat:
linear_algebra.h | | | 2 | ++ |
diff --git a/linear_algebra.h b/linear_algebra.h @@ -113,6 +113,8 @@ struct v3 { y = v.x; z = v.y; } + + v2 xy() const { return v2( x, y ); } }; // AUTOVISITOR