]>
Commit | Line | Data |
---|---|---|
3a9019d9 FG |
1 | //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.\r |
2 | \r | |
3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying\r | |
4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r | |
5 | \r | |
6 | #include <boost/qvm/vec.hpp>\r | |
7 | #include <boost/qvm/vec_operations.hpp>\r | |
8 | #include <boost/qvm/swizzle2.hpp>\r | |
9 | \r | |
10 | int\r | |
11 | main()\r | |
12 | {\r | |
13 | using namespace boost::qvm;\r | |
14 | vec<float,2> v;\r | |
15 | vec<float,2> const & cv=v;\r | |
16 | XY(cv)*=2;\r | |
17 | return 1;\r | |
18 | }\r |