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